This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Missing thread support..
- From: Daniel Jacobowitz <drow at false dot org>
- To: Rob Kramer <robk at starhub dot net dot sg>
- Cc: gdb at sourceware dot org
- Date: Mon, 14 Aug 2006 16:58:56 -0400
- Subject: Re: Missing thread support..
- References: <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