Re: shared library symbols not loaded automatically

Daniel Jacobowitz
2006-07-12T18:15:32Z

On Wed, Jul 12, 2006 at 11:37:25PM +0530, Kunal Parmar wrote:
> Hello,
> I am trying to debug a program which uses shared libraries.
> My host is i386-linux and target is arm-linux.
> While debugging, gdb shows me the shared libraries used by my program
> but it does not load the symbols automatically (auto-solib-add is set).
> I have to explicitly use the sharedlibrary command after which the shared
> library symbols are read in.

It looks like you need to set solib-absolute-prefix.

> >Reading symbols from /lib/libc.so.6...done.
> >Loaded symbols for /lib/libc.so.6

This is probably loading your system's /lib/libc.so.6.

--
Daniel Jacobowitz
CodeSourcery