* GDB & info threads command
@ 2002-03-07 19:25 Jeff Jenkins
2002-03-07 19:29 ` Daniel Jacobowitz
0 siblings, 1 reply; 5+ messages in thread
From: Jeff Jenkins @ 2002-03-07 19:25 UTC (permalink / raw)
To: gdb
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!
Thanks!
-- jrj
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: GDB & info threads command
2002-03-07 19:25 GDB & info threads command Jeff Jenkins
@ 2002-03-07 19:29 ` Daniel Jacobowitz
[not found] ` <HFEPKLGPJDEHEGCKLKCCGECOCCAA.jefreyr@pacbell.net>
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2002-03-07 19:29 UTC (permalink / raw)
To: Jeff Jenkins; +Cc: gdb
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-03-08 10:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-07 19:25 GDB & info threads command Jeff Jenkins
2002-03-07 19:29 ` Daniel Jacobowitz
[not found] ` <HFEPKLGPJDEHEGCKLKCCGECOCCAA.jefreyr@pacbell.net>
2002-03-07 20:22 ` Daniel Jacobowitz
2002-03-07 21:19 ` Andrew Cagney
2002-03-08 2:51 ` Jeff Jenkins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox