From: Neo <cjia@cse.unl.edu>
Cc: David Carlton <david.carlton@sun.com>, gdb <gdb@sourceware.org>
Subject: Re: multithreaded core files
Date: Thu, 25 Jan 2007 19:54:00 -0000 [thread overview]
Message-ID: <45B90ADD.1070802@cse.unl.edu> (raw)
In-Reply-To: <20070125194840.GA20591@nevyn.them.org>
Daniel Jacobowitz wrote:
> On Thu, Jan 25, 2007 at 11:40:42AM -0800, David Carlton wrote:
>
>> 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.
>>
>
> It should already print all the backtraces.
Daniel,
Could you point me to the code that does this job inside GDB?
Thanks,
Neo
> If it doesn't, the usual
> explanation is that you are using a broken kernel version which does
> not save registers for every thread. Many 2.4 kernels fit that
> description.
>
>
--
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
next prev parent reply other threads:[~2007-01-25 19:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-25 19:40 David Carlton
2007-01-25 19:48 ` Daniel Jacobowitz
2007-01-25 19:54 ` Neo [this message]
2007-01-25 19:57 ` Daniel Jacobowitz
2007-01-25 20:04 ` David Carlton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45B90ADD.1070802@cse.unl.edu \
--to=cjia@cse.unl.edu \
--cc=david.carlton@sun.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox