This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Thread signal information
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Lucy Zhang <lucyz at uclink4 dot berkeley dot edu>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 24 Jul 2002 12:04:22 -0400
- Subject: Re: Thread signal information
- References: <004501ea8fb2$e33da4c0$9a0a0109@zhangl>
On Wed, Jul 24, 2002 at 09:00:43AM -0700, Lucy Zhang wrote:
> Hi,
>
> I'm constructing an ELF core dump (conversion from a different formatted
> dump). I'm trying to add thread information by using a prstatus struct for
> each thread. I was wondering what should I put for the signal information
> for each thread. Do I even need this info for threads other than the
> faulting thread?
Not really. I believe that GDB only recognizes the signal in the first
listed thread (or it may have been the last listed thread.... there was
a fix in this area recently, I believe). First listed (faulting)
certainly makes the most sense, and GDB definitely only cares about one
thread.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer