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: loading shared library


On Jan 27, 11:38am, Frank van Eijkelenburg wrote:

> I don't understand why gdb tries to load a library from the host
> (/lib/libpthread.so.0), while it needs the crosscompiled library from the
> target. Or do I misunderstand something?

You need to tell GDB where to find the shared libraries for the target.
Use the ``set solib-absolute-prefix ...'' command to do this.

Kevin


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