This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB & info threads command
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Jeff Jenkins <jefreyr at pacbell dot net>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 7 Mar 2002 22:29:05 -0500
- Subject: Re: GDB & info threads command
- References: <HFEPKLGPJDEHEGCKLKCCMECMCCAA.jefreyr@pacbell.net>
On Thu, Mar 07, 2002 at 07:22:07PM -0800, Jeff Jenkins wrote:
>
> Hi,
>
> I have GDB sources from 03/06/02 running on RH7.2 (kernel 2.4.7-10).
> I created a multi-threaded app that created 100 threads, and then promptly
> dumps core.
> (on purpose!)
>
> I fire up "gdb test core" and do an "info threads" and all I get is one
> thread, namely the thread
> that caused the SIGSEGV. I was expecting to see the stacks from all 100
> threads. Is there a fix for this? Do I need a newer kernel?
>
> Any help would be groovey!
No Linux kernel currently dumps the thread registers to coredumps.
Hopefully I'll get a chance to submit the patches for that in a month
or two.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer