diff options
author | Tom de Vries <tdevries@suse.de> | 2023-08-30 23:33:31 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-08-30 23:33:31 +0200 |
commit | 50e193c1862029e8de71c7bcd0863c17ad37bfa5 (patch) | |
tree | a436a4d94770b7799057e86283fffadd2004dbf8 /bfd | |
parent | 7c651c5fe6de738b0ce9b5b89568fde84eade807 (diff) | |
download | gdb-50e193c1862029e8de71c7bcd0863c17ad37bfa5.zip gdb-50e193c1862029e8de71c7bcd0863c17ad37bfa5.tar.gz gdb-50e193c1862029e8de71c7bcd0863c17ad37bfa5.tar.bz2 |
[gdb/testsuite] Fix gdb.dwarf2/nullptr_t.exp with cc-with-dwz-m
When running test-case gdb.dwarf2/nullptr_t.exp with target board
cc-with-dwz-m, I run into:
...
FAIL: gdb.dwarf2/nullptr_t.exp: decltype(nullptr) symbol
...
The problem is that were looking for "typedef void decltype\\(nullptr\\)"
using "maint print symbols -source $srcfile", but dwz has moved the typedef to
a PU, so it's shown by "maint print symbols -source <unknown>" instead.
Fix this by dropping the "-source $srcfile" bit.
Tested on x86_64-linux, with make-check-all.sh.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions