From 76d17f347addd06d7ca156aa91f1b5a6ce397619 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 18 Jun 2005 12:54:36 +0000 Subject: [PATCH] (Machine Code): Document possible problems with locations in shared libraries. --- gdb/doc/ChangeLog | 2 ++ gdb/doc/gdb.texinfo | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 1f5a62d05a..f30d5cd36a 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 diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 14adf08993..b9c6599247 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