"Disabling thread support in gdbserver" problem

Daniele Palmas Daniele.Palmas@telit.com
Tue Feb 16 07:58:00 GMT 2010

-----Original Message-----
From: Khem Raj [mailto:raj.khem@gmail.com] 
Sent: lunedì 15 febbraio 2010 22.37
To: Daniele Palmas
Cc: Yann E. MORIN; crossgcc@sourceware.org
Subject: Re: "Disabling thread support in gdbserver" problem

> It seems to me that you are trying to build static gdbserver with
> multi-threading support.
> you need to have static version of libthread_db installed for that in
> your <sysroot>/usr/lib
> and this should be same as the one the programs that you intend to
> debug will be linked against
> otherwise the multi-threaded debugging may not work well.
> If there are no restrictions to use shared libs then I would suggest
> that you compile gdbsever with
> shared library support. If not then you have to compile the static
> version of libthread_db (libthread_db.a) during libc build step.

My idea was to use shared library support. In crosstools-NG menuconfig I have checked the flag Operating System -> Build Shared Libraries.

Is this enough? If yes the problem has another reason or maybe there is a bug in the build system.

If not, could you suggest me which other options should I check for enabling shared library support? I cannot find any other reference in crosstools-NG menuconfig.

Thanks for your support,

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

More information about the crossgcc mailing list