This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdbserver coredumps,what is the *right* libthread_db.sofor gdbserver on a given platform?
- From: "John Utz" <Johnut01 at noa dot nintendo dot com>
- To: <drow at mvista dot com>
- Cc: <gdb at sources dot redhat dot com>
- Date: Fri, 23 Jan 2004 12:42:25 -0800
- Subject: Re: gdbserver coredumps,what is the *right* libthread_db.sofor gdbserver on a given platform?
Hi Daniel!
tnx so much for responding.
>>>> Daniel Jacobowitz <drow@mvista.com> 01/23/04 12:34PM >>>
>On Fri, Jan 23, 2004 at 12:32:18PM -0800, John Utz wrote:
>> Hi;
>> problem i am having is that when gdbserver tries to load the
symbols
>> for for libpthread-0.9.so, it segfaults.
>>
>> it seems to not matter *which* libthread_db.so i stuff into my
search
>> path on the target
>
> It doesn't matter what's on your search path on the _TARGET_. The
> segfault is usually a symptom that the libthread_db loaded on the
> _HOST_ does not match the one in use on the target system.
remarkably interesting! what does gdbserver us thread_db for? i noticed
that when i puposefully deleted -lthread_db it actually only uses a few
calls from libthread_db....if you could enlighten me about that i would
be really grateful.
> Google for solib-absolute-prefix. Strace gdb if necessary to see
what
> it finds.
i'll do this ASAP!
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer