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

See the CrossGCC FAQ for lots more information.


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: "Disabling thread support in gdbserver" problem


-----Original Message-----
From: Yann E. MORIN [mailto:yann.morin.1998@anciens.enib.fr] 
Sent: giovedì 25 febbraio 2010 19.50
To: crossgcc@sourceware.org
Cc: Daniele Palmas
Subject: Re: "Disabling thread support in gdbserver" problem

>> Building the toolchain succeeded correctly, but analyzing the log I've found
>> the following lines: 
>> [--SNIP--]
>> [INFO ]? Installing gdbserver
>> [EXTRA]??? Configuring gdbserver
>> [WARN ]??? configure: WARNING: Could not find libthread_db.
>> [WARN ]??? configure: WARNING: Disabling thread support in gdbserver.
>> [--SNIP--]
>> Any hint?

> Well, I was really sckeptical about this issue, and while I was trying
> to solve it, I noticed that I do not have the issue! My gdbserver is
> statically built, and properly finds the static version of libthread_db.
>
> If you manage to somehow understand why it fails on your side, I would be
> glad to hear about it, so we can try and fix it.
>
> Regards,
> Yann E. MORIN.

I'll try to take a look into that.

Please also note that the gdbserver built with gdb 6.8 doesn't work with my target (ptrace error when debugging threads that stops the debugger).

I had to compile separately from crosstool-NG the gdb and gdbserver 7.0 for being able to debug threads.

Regards,
Daniele

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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