This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
How to indicate failing thread in core file.
- From: "Kris Warkentin" <kewarken at qnx dot com>
- To: "Gdb at Sources dot Redhat dot Com" <gdb at sources dot redhat dot com>
- Date: Mon, 12 May 2003 17:48:14 -0400
- Subject: How to indicate failing thread in core file.
I'm fixing up our core-file reading stuff in elf.c and trying to see how to
indicate the thread that failed. I'm only setting the core_signal and
core_lwpid on the thread that got the signal but that doesn't seem to be
doing the trick. How does gdb know which thread was currently running when
the core was generated?
cheers,
Kris