[uClibc] gdb: error initializing thread_db library

Joakim Tjernlund joakim.tjernlund at lumentis.se
Thu Oct 7 10:39:26 UTC 2004


> For some time ago I asked  about gdbserver and multi-thread
> support.  I did not get any answers so I want to ask again.
> This time also the additional questions:
>
> Has anyone used gdbserver successfully with uClibc libthread_db?
>
> What processor did you use?
>
> Caj
>
>
> At 10:08 AM 9/23/2004 +0300, Caj Nordström wrote:
>
> >I am using a system done with buildroot-20040915.tar.bz2, using
> >uclibc snapshot.
> >When I try to debug out multi-thread application with gdbserver
> >this error message appears:
> >gdb: error initializing thread_db library.
> >The gdbserver is working somehow but not fully. The full gdb
> >done with the same buildroot is working OK. At least at startup it prints.
> >(no debugging symbols found)...[Thread debugging using libthread_db enabled]
> >The gdb version included is 6.1.1
> >I have also tried some other older versions with the same problem
> >I am sending to this list when I think it has to be a uclibc specific problem.
> >
> >Caj Nordström

This may be related to gdb's hardcoded name for the thread_db library. See
http://cvs.uclibc.org/lists/uclibc/2004-October/010125.html
for some hints.

 Jocke




More information about the uClibc mailing list