public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Folkert van Heusden <folkert@vanheusden.com>
To: gdb@sourceware.org
Subject: gdb and threads
Date: Thu, 12 Apr 2012 09:44:00 -0000	[thread overview]
Message-ID: <CAFDOyVAAdzAoQd85kTgMAw581noH1hbx8fgs0MfCCe0LDTLLng@mail.gmail.com> (raw)

Hi,

I'm trying to debug a mulithreaded application running on a multicore cpu.
It is a C++ application which uses the new std::thread (which uses
pthreads underneath).
Now when my program gets a SIGSEGV, I can use 'bt' in gdb to get a backtrace.
Can I be sure that the backtrace I get is the one from the thread
causing the SIGSEGV?


Thanks,

Folkert.
www.vanheusden.com

             reply	other threads:[~2012-04-12  9:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12  9:44 Folkert van Heusden [this message]
2012-04-13 13:07 ` Jan Kratochvil
  -- strict thread matches above, loose matches on Subject: below --
2001-04-26 17:39 GDB " Jiva DeVoe
2001-04-26 21:00 ` Jeffrey W. Baker
2001-04-30 18:32 ` Kevin Buettner
2001-04-30 18:46   ` Jiva DeVoe
2001-04-30 18:54   ` Jiva DeVoe

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=CAFDOyVAAdzAoQd85kTgMAw581noH1hbx8fgs0MfCCe0LDTLLng@mail.gmail.com \
    --to=folkert@vanheusden.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).