aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2005-06-18 12:54:36 +0000
committerEli Zaretskii <eliz@gnu.org>2005-06-18 12:54:36 +0000
commit76d17f347addd06d7ca156aa91f1b5a6ce397619 (patch)
tree40185e2fda7b07cc673c41ef5cf5fb6b5a7283e9
parent59b7b46f9829cf401ceb234b352e2789b0ad9022 (diff)
downloadgdb-76d17f347addd06d7ca156aa91f1b5a6ce397619.zip
gdb-76d17f347addd06d7ca156aa91f1b5a6ce397619.tar.gz
gdb-76d17f347addd06d7ca156aa91f1b5a6ce397619.tar.bz2
(Machine Code): Document possible problems with locations in
shared libraries.
-rw-r--r--gdb/doc/ChangeLog2
-rw-r--r--gdb/doc/gdb.texinfo6
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 1f5a62d..f30d5cd 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -9,6 +9,8 @@
(Files): Document the possibility of loading unlinked object
files. Add more indexing for solib-absolute-prefix and
--with-sysroot.
+ (Machine Code): Document possible problems with locations in
+ shared libraries.
2005-06-18 Nick Roberts <nickrob@snap.net.nz>
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 14adf08..b9c6599 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -4922,6 +4922,12 @@ End of assembler dump.
Some architectures have more than one commonly-used set of instruction
mnemonics or other syntax.
+For programs that were dynamically linked and use shared libraries,
+instructions that call functions or branch to locations in the shared
+libraries might show a seemingly bogus location---it's actually a
+location of the relocation table. On some architectures, @value{GDBN}
+might be able to resolve these to actual function names.
+
@table @code
@kindex set disassembly-flavor
@cindex Intel disassembly flavor