From: Eli Zaretskii Date: Sat, 18 Jun 2005 12:40:48 +0000 (+0000) Subject: (Files): Add more indexing for solib-absolute-prefix and --with-sysroot. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59b7b46f9829cf401ceb234b352e2789b0ad9022;p=binutils-gdb.git (Files): Add more indexing for solib-absolute-prefix and --with-sysroot. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 59127d9aa73..1f5a62d05a7 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -7,7 +7,8 @@ (Memory): List explicitly all the formats supported by `x'. (Threads): Add an @cindex entry for "thread apply". (Files): Document the possibility of loading unlinked object - files. + files. Add more indexing for solib-absolute-prefix and + --with-sysroot. 2005-06-18 Nick Roberts diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index adb4ebb6787..14adf08993f 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -11062,12 +11062,14 @@ host system; they need to be the same as the target libraries, although the copies on the target can be stripped as long as the copies on the host are not. -You need to tell @value{GDBN} where the target libraries are, so that it can -load the correct copies---otherwise, it may try to load the host's libraries. -@value{GDBN} has two variables to specify the search directories for target -libraries. +@cindex where to look for shared libraries +For remote debugging, you need to tell @value{GDBN} where the target +libraries are, so that it can load the correct copies---otherwise, it +may try to load the host's libraries. @value{GDBN} has two variables +to specify the search directories for target libraries. @table @code +@cindex prefix for shared library file names @kindex set solib-absolute-prefix @item set solib-absolute-prefix @var{path} If this variable is set, @var{path} will be used as a prefix for any @@ -11077,6 +11079,8 @@ paths to the shared library in the target program's memory. If you use out in the same way that they are on the target, with e.g.@: a @file{/usr/lib} hierarchy under @var{path}. +@cindex default value of @samp{solib-absolute-prefix} +@cindex @samp{--with-sysroot} You can set the default value of @samp{solib-absolute-prefix} by using the configure-time @samp{--with-sysroot} option.