aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-09-11 08:29:46 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-09-11 08:29:46 +0000
commit1d236d23086bc8ce7d85ed03e9721631e4145538 (patch)
tree472e6cf9bed8d94c9b7634369513f23276a4a0ca /gdb/doc
parent5423b017be8ae3fb18960f490df7962702ecc8c4 (diff)
downloadgdb-1d236d23086bc8ce7d85ed03e9721631e4145538.zip
gdb-1d236d23086bc8ce7d85ed03e9721631e4145538.tar.gz
gdb-1d236d23086bc8ce7d85ed03e9721631e4145538.tar.bz2
minidebuginfo: ppc64 sync testcase->doc
gdb/doc/ 2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com> Sync documentation with gdb.base/gnu-debugdata.exp. * gdb.texinfo (MiniDebugInfo): Add comment and "D" in the example.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo4
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 6bb1e7b..442b601 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,10 @@
2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Sync documentation with gdb.base/gnu-debugdata.exp.
+ * gdb.texinfo (MiniDebugInfo): Add comment and "D" in the example.
+
+2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
* gdb.texinfo (MiniDebugInfo): Fix two trailing dots.
2013-08-27 Pedro Alves <pedro@codesourcery.com>
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index dfc9882..00f8e77 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -17330,8 +17330,10 @@ nm -D @var{binary} --format=posix --defined-only \
| awk '@{ print $1 @}' | sort > dynsyms
# Extract all the text (i.e. function) symbols from the debuginfo.
+# (Note that we actually also accept "D" symbols, for the benefit
+# of platforms like PowerPC64 that use function descriptors.)
nm @var{binary} --format=posix --defined-only \
- | awk '@{ if ($2 == "T" || $2 == "t") print $1 @}' \
+ | awk '@{ if ($2 == "T" || $2 == "t" || $2 == "D") print $1 @}' \
| sort > funcsyms
# Keep all the function symbols not already in the dynamic symbol