Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Cannot initialize thread debugging library: generic error
@ 2007-08-08  7:01 srinivas bakki
  2007-08-08  7:07 ` Ramana Radhakrishnan
  0 siblings, 1 reply; 3+ messages in thread
From: srinivas bakki @ 2007-08-08  7:01 UTC (permalink / raw)
  To: gdb

Hi,
    I have compiled my toolchain with
binutils-2.17.50.0.14, GCC 3.4.6 and uClibc-0.9.28
using buildroot. I build the gdb with this toolchain.
 
The debugger starts up well and am able to do all the
basic debugging including handling the signals.
However am not able to debug threads. When i run the
test program in teh debugger it throws up following
warnings:
 
Cannot initialize thread debugging library: generic
error
 
 I searched the net for similar messages, i found
similar  warnings with gdb but in the context of using
insight. Still i tried setting the
solib-absolute-prefix to /. ,  it doesnt work. 
 
Any help on this please ?
 
Regards
Srinivas Bakki


      ___________________________________________________________ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cannot initialize thread debugging library: generic error
  2007-08-08  7:01 Cannot initialize thread debugging library: generic error srinivas bakki
@ 2007-08-08  7:07 ` Ramana Radhakrishnan
  0 siblings, 0 replies; 3+ messages in thread
From: Ramana Radhakrishnan @ 2007-08-08  7:07 UTC (permalink / raw)
  To: srinivas bakki; +Cc: gdb

On Wed, 2007-08-08 at 08:01 +0100, srinivas bakki wrote:
> Hi,
>     I have compiled my toolchain with
> binutils-2.17.50.0.14, GCC 3.4.6 and uClibc-0.9.28
> using buildroot. I build the gdb with this toolchain.

Build gdb with this toolchain ? 

>  
> The debugger starts up well and am able to do all the
> basic debugging including handling the signals.
> However am not able to debug threads. When i run the
> test program in teh debugger it throws up following
> warnings:
>  
> Cannot initialize thread debugging library: generic
> error

Which architecture are you trying this for ?  Do you have libthread_db
built for your architecture ? libthread_db is the library used for
thread debugging from within gdb. 


cheers
Ramana

>       ___________________________________________________________ 
> Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
> your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 
-- 
cheers
Ramana

Ramana Radhakrishnan
IDE & Tools Group
Celunite Inc (www.celunite.com)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cannot initialize thread debugging library: generic error
       [not found] <719540.99474.qm@web27214.mail.ukl.yahoo.com>
@ 2007-08-08  7:48 ` Ramana Radhakrishnan
  0 siblings, 0 replies; 3+ messages in thread
From: Ramana Radhakrishnan @ 2007-08-08  7:48 UTC (permalink / raw)
  To: srinivas bakki; +Cc: gdb

Please reply to the lists too and not me personally. 

On Wed, 2007-08-08 at 08:13 +0100, srinivas bakki wrote:
>  
> > Build gdb with this toolchain ? 
>   
>   Yes, anything worng ?

well not really ... 


>   
> >> Which architecture are you trying this for ?  Do
> you
> > have libthread_db
> > built for your architecture ? libthread_db is the
> > library used for
> > thread debugging from within gdb. 
>       
> Am building this for arm926 which has runs uClibc. I
> do have libthread_db for that,after i start the gdb it
> shows me which debugging thread library is it using. 
> Thats fine for me.

I haven't built gdb natively with uClibc and haven't used it .
Theoretically it should have worked if you did have libthread_db
installed on the target . Googling for a couple of minutes found me this
with regards to others who've had similar issues. 

http://www.busybox.net/lists/uclibc/2003-March/005800.html

don't know if this helps you enough. 



Most of our folk use gdb as a cross debugger with gdbserver on GNU/
Linux targets and that seems to work fine with the versions you suggest.

cheers
Ramana 

> 
> Any pointers ?
> 
> Regards
> Srinivas Bakki
> 
> 
>       ___________________________________________________________ 
> Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
> your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 
-- 
cheers
Ramana

Ramana Radhakrishnan
IDE & Tools Group
Celunite Inc (www.celunite.com)
4th Floor B1 Cerebrum IT Park,
Kumar City,
Kalyani Nagar
Pune 411006
Phone (work) - +912040179700 x 789 
      (mobile) - +919890040009


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-08  7:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-08  7:01 Cannot initialize thread debugging library: generic error srinivas bakki
2007-08-08  7:07 ` Ramana Radhakrishnan
     [not found] <719540.99474.qm@web27214.mail.ukl.yahoo.com>
2007-08-08  7:48 ` Ramana Radhakrishnan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox