This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB & info threads command


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]