aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
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
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')
-rw-r--r--gdb/doc/ChangeLog3
-rw-r--r--gdb/doc/gdb.texinfo12
2 files changed, 10 insertions, 5 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 59127d9..1f5a62d 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 <nickrob@snap.net.nz>
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.