aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/gdb.texinfo
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2005-06-18 12:40:48 +0000
committerEli Zaretskii <eliz@gnu.org>2005-06-18 12:40:48 +0000
commit59b7b46f9829cf401ceb234b352e2789b0ad9022 (patch)
tree7e5e5ea3289310cbcf0063bba3ab30ca17034a8b /gdb/doc/gdb.texinfo
parentfc8be69e5e47d0f0a67eb91599757c1c223d7c28 (diff)
downloadgdb-59b7b46f9829cf401ceb234b352e2789b0ad9022.zip
gdb-59b7b46f9829cf401ceb234b352e2789b0ad9022.tar.gz
gdb-59b7b46f9829cf401ceb234b352e2789b0ad9022.tar.bz2
(Files): Add more indexing for solib-absolute-prefix and --with-sysroot.
Diffstat (limited to 'gdb/doc/gdb.texinfo')
-rw-r--r--gdb/doc/gdb.texinfo12
1 files changed, 8 insertions, 4 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index adb4ebb..14adf08 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.