Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Doug Evans" <dje@google.com>
To: "Srinivas Murthy" <codevana@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: gdb doesnt show nptl threads
Date: Wed, 11 Jun 2008 14:58:00 -0000	[thread overview]
Message-ID: <e394668d0806110758y7bf95cc7mdf9a603fa6d84789@mail.gmail.com> (raw)
In-Reply-To: <df1bdeb10806110019u4ce7cff1pb838d26166089df2@mail.gmail.com>

On Wed, Jun 11, 2008 at 12:19 AM, Srinivas Murthy <codevana@gmail.com> wrote:
> Hi,
> I have the following setup:
>  gdb6.6 built using a 64b glibc w/ nptl enabled
>  64b glibc - 2.3.6 (nptl enabled)
>
> When I use gdb on a sample multi-threaded (nptl) app, I cant get any
> thread specific gdb cmds to work.
>
> For ex. info threads shows only one thread (the main thread).
>
> Any idea what might be going wrong?

Unlikely, but one thing that could explain this is the glibc you're
using is a hand-made one installed in some place other than /lib64.
gdb will only look for libthread_db in a few specific places.

A copy of the session log from the start up until the error could help
diagnosis.


  parent reply	other threads:[~2008-06-11 14:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11  7:20 Srinivas Murthy
2008-06-11 12:08 ` Daniel Jacobowitz
2008-06-11 14:58 ` Doug Evans [this message]
2008-06-11 21:38   ` Srinivas Murthy
2008-06-11 22:00     ` Michael Snyder
2008-06-12 19:09     ` Srinivas Murthy
2008-06-27  0:09       ` Srinivas Murthy
2008-06-27 18:46         ` Srinivas Murthy
2008-06-27 20:29           ` Doug Evans
2008-06-27 21:52             ` Srinivas Murthy

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=e394668d0806110758y7bf95cc7mdf9a603fa6d84789@mail.gmail.com \
    --to=dje@google.com \
    --cc=codevana@gmail.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