diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2012-12-05 17:07:56 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2012-12-05 17:07:56 +0000 |
commit | e58fcc15916bdb8be2b318a685430a597824a606 (patch) | |
tree | 995b7be8bbdc74b5e8f50230e99f36ff712e2aa7 | |
parent | e90e9ad97190c3e187285682d905582503f4a42a (diff) | |
download | gdb-e58fcc15916bdb8be2b318a685430a597824a606.zip gdb-e58fcc15916bdb8be2b318a685430a597824a606.tar.gz gdb-e58fcc15916bdb8be2b318a685430a597824a606.tar.bz2 |
* gdb.base/gnu-debugdata.exp: Also include "D" symbols in
${binfile}.funcsyms list.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/gnu-debugdata.exp | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8d2539e..ad6874e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-12-05 Ulrich Weigand <uweigand@de.ibm.com> + + * gdb.base/gnu-debugdata.exp: Also include "D" symbols in + ${binfile}.funcsyms list. + 2012-12-04 Yao Qi <yao@codesourcery.com> PR gdb/13443 diff --git a/gdb/testsuite/gdb.base/gnu-debugdata.exp b/gdb/testsuite/gdb.base/gnu-debugdata.exp index 1429a39..83abe57 100644 --- a/gdb/testsuite/gdb.base/gnu-debugdata.exp +++ b/gdb/testsuite/gdb.base/gnu-debugdata.exp @@ -95,10 +95,12 @@ if {[pipeline "nm -D" \ } # 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.) remote_file host delete ${binfile}.funcsyms if {[pipeline "nm" \ [list [transform nm] "${binfile} --format=posix --defined-only"] \ - [list awk "\\{if(\\\$2==\"T\"||\\\$2==\"t\")print\\ \\\$1\\}"] \ + [list awk "\\{if(\\\$2==\"T\"||\\\$2==\"t\"||\\\$2==\"D\")print\\ \\\$1\\}"] \ [list sort "" "" "${binfile}.funcsyms"]]} { return -1 } |