loading shared library

Kevin Buettner kevinb@redhat.com
Mon Jan 27 16:05:00 GMT 2003


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



More information about the Gdb mailing list