From: Eli Zaretskii Date: Sat, 18 Jun 2005 12:54:36 +0000 (+0000) Subject: (Machine Code): Document possible problems with locations in X-Git-Tag: gdb-csl-arm-20051020-branchpoint~956 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=76d17f347addd06d7ca156aa91f1b5a6ce397619;p=thirdparty%2Fbinutils-gdb.git (Machine Code): Document possible problems with locations in shared libraries. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 1f5a62d05a7..f30d5cd36aa 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 14adf08993f..b9c65992476 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