From f51168544f9d182135868a5ed77b471e2d913d65 Mon Sep 17 00:00:00 2001 From: eliz Date: Sat, 18 Jun 2005 12:40:47 +0000 Subject: [PATCH] (Files): Add more indexing for solib-absolute-prefix and --with-sysroot. --- gdb/doc/ChangeLog | 3 ++- gdb/doc/gdb.texinfo | 12 ++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 59127d9aa7..1f5a62d05a 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 adb4ebb678..14adf08993 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. -- 2.11.0