Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Rob Kramer <robk@starhub.net.sg>
Cc: gdb@sourceware.org
Subject: Re: Missing thread support..
Date: Mon, 14 Aug 2006 20:59:00 -0000	[thread overview]
Message-ID: <20060814205856.GA301@nevyn.them.org> (raw)
In-Reply-To: <200608142352.23711.robk@starhub.net.sg>

On Mon, Aug 14, 2006 at 11:52:23PM +0800, Rob Kramer wrote:
> Hi,
> 
> When trying to find a deadlock in my program, I noticed my gdb (6.4 for 
> i586-linux target, cross-compiled by OpenEmbedded) lacks thread support. It 
> doesn't detect when a new thread starts, and 'info threads' always returns an 
> empty list. Below is the output on i586-linux, versus a proper setup that 
> works as expected:
> 
> OpenEmbedded distro (gdb 6.4):
> --------------------
> This GDB was configured as "i586-linux"...Using host libthread_db library 
> "/lib/libthread_db.so.1".

No, if your GDB didn't have thread support, it wouldn't have loaded
libthread_db.

OpenEmbedded has probably got a broken libthread_db, or an excessively
stripped libpthread.so.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2006-08-14 20:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-14 15:58 Rob Kramer
2006-08-14 20:59 ` Daniel Jacobowitz [this message]
2006-08-15  2:35   ` Rob Kramer

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=20060814205856.GA301@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=robk@starhub.net.sg \
    /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