This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Missing thread support..


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]