Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* multithreaded core files
@ 2007-01-25 19:40 David Carlton
  2007-01-25 19:48 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: David Carlton @ 2007-01-25 19:40 UTC (permalink / raw)
  To: gdb

One of my coworkers is looking at a core file from a multithreaded
program.  (x86 Linux.)  In this situation, GDB only prints a backtrace
from the thread that actually seg faulted; he'd like to see what other
threads were doing at the time.

I assume there's no easy way to fix that, but he had the idea of
looking through the memory to find out where the other threads' stacks
are.  Not completely impossible - we know some of the functions to
expect in the other threads' backtraces, so we can come up with some
addresses to look for.

If we can find those other stacks, is there any way that we can try to
convince GDB to print out backtraces for them?  And even give us local
variable information?

Thanks,
David Carlton
david.carlton@sun.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-01-25 20:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-25 19:40 multithreaded core files David Carlton
2007-01-25 19:48 ` Daniel Jacobowitz
2007-01-25 19:54   ` Neo
2007-01-25 19:57     ` Daniel Jacobowitz
2007-01-25 20:04   ` David Carlton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox