This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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: gdbserver coredumps,what is the *right* libthread_db.so for gdbserver on a given platform?


On Fri, Jan 23, 2004 at 12:32:18PM -0800, John Utz wrote:
> Hi;
> 
> i am using crosstool to build a complex app on a i686-unknown-linux-gnu
> redhat 9 for a i486-unknown-linux-gnu redhat 7.3-ish( it's a somewhat
> custom build, as near as i can tell).
> 
> 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.

Google for solib-absolute-prefix.  Strace gdb if necessary to see what
it finds.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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