(Machine Code): Document possible problems with locations in
authorEli Zaretskii <eliz@gnu.org>
Sat, 18 Jun 2005 12:54:36 +0000 (12:54 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Jun 2005 12:54:36 +0000 (12:54 +0000)
shared libraries.

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index 1f5a62d..f30d5cd 100644 (file)
@@ -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>
 
index 14adf08..b9c6599 100644 (file)
@@ -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