This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: cross-debugging with gdbserver, why can't gdb find breakpoint function?
On Jul 17, 5:06pm, Jon Ringle wrote:
> > (gdb) help set solib-search-path
> > Set the search path for loading non-absolute shared library symbol files.
> > This takes precedence over the environment variables PATH and
> > LD_LIBRARY_PATH.
> >
> > The help here doesn't imply that /lib will be suffixed to the
> > solib-search-path setting...
>
> Ahh... I think I see now:
>
> (gdb) help set solib-search-path
> Set the search path for loading non-absolute shared library symbol files.
> This takes precedence over the environment variables PATH and LD_LIBRARY_PATH.
> (gdb) help set solib-absolute-prefix
> Set prefix for loading absolute shared library symbol files.
> For other (relative) files, you can add values using `set solib-search-path'.
>
> The term 'absolute' here refers to an 'absolute path'.
>
> Is this correct?
Yes.
That help message isn't worded very well, is it?
Kevin