Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Albert Fu" <quarkverse@gmail.com>
To: "Paul Pluzhnikov" <ppluzhnikov@google.com>
Cc: gdb@sourceware.org
Subject: Re: Program terminated by SIGTRAP in gdb
Date: Fri, 16 Jan 2009 19:05:00 -0000	[thread overview]
Message-ID: <966c7c700901161105l7212a096hecd192e7e4e751e1@mail.gmail.com> (raw)
In-Reply-To: <8ac60eac0901151805w1953e06do991af229cdccb5a2@mail.gmail.com>

>   What does the command below produce:
>    nm /lib/libpthread.so.0 | egrep '_version|threads_events'
I typed the command and it produced:

0001da70 g __linuxthreads_version
0001da9c s __pthread_threads_events

> This may happen if you build your own glibc, but don't install
> all the pieces of it.
I use all the software from the same Linux release.

Is there any document which describes what gdb can do or can't do
when debugging a multi-threaded program?

Subject:"gdb and multi-threaded (NPTL) programs"
There were some discussions back in March 24, 2006 mentioned
that GDB changes the behavior of a multi-threaded program.
Is there any changes in GDB since then?


  reply	other threads:[~2009-01-16 19:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-15  0:37 Albert Fu
2009-01-15  2:08 ` teawater
2009-01-16  2:06 ` Paul Pluzhnikov
2009-01-16 19:05   ` Albert Fu [this message]
2009-01-16 20:13     ` Paul Pluzhnikov
     [not found]       ` <966c7c700901161513o6bca18dbx5ad35a1924b41130@mail.gmail.com>
2009-01-16 23:34         ` Paul Pluzhnikov

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=966c7c700901161105l7212a096hecd192e7e4e751e1@mail.gmail.com \
    --to=quarkverse@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=ppluzhnikov@google.com \
    /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