minidebuginfo: ppc64 sync testcase->doc
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 11 Sep 2013 08:29:46 +0000 (08:29 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 11 Sep 2013 08:29:46 +0000 (08:29 +0000)
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.

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

index 6bb1e7b223be59594c0be24ac62cbf10368e093a..442b6018b0e922eb7fdbfa460896c7eb6b4c169f 100644 (file)
@@ -1,3 +1,8 @@
+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.
index dfc9882f871d4a468364112f94eb7cdc73754bab..00f8e7774bc6a8ce4ae9677f644d00545c8180fe 100644 (file)
@@ -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
This page took 0.050248 seconds and 4 git commands to generate.