Missing thread support..

Daniel Jacobowitz drow@false.org
Mon Aug 14 20:59:00 GMT 2006


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



More information about the Gdb mailing list