[Buildroot] GDB for threads.

Leonid Leonid at a-k-a.net
Wed Oct 3 23:55:54 UTC 2007


Hi:

GDB on my target says it cannot debug threads:

dlopen failed on 'libthread_db.so.1' - File not found
GDB will not be able to debug pthreads.

GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "arm-linux".
(gdb)

I have chosen thread library debugging option and have re-built
toolchain:

Toolchain Options -->
  [x] Thread library debugging
 
The build went through but as a result I see broken link in the lib
directory of my toolchain and no real library:

rwxr-xr-x  1 leonid leonid   26330 2007-10-03 14:27 libssp.so.0.0.0
lrwxrwxrwx  1 leonid leonid      17 2007-10-03 14:24 libthread_db.so ->
libthread_db.so.1
-rw-r--r--  1 leonid leonid  309856 2007-10-03 14:24 libuClibc-0.9.29.so
-rw-r--r--  1 leonid leonid    4656 2007-10-03 14:24 libutil-0.9.29.so
-

Thanks,

Leonid.



More information about the buildroot mailing list