diff options
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/pr13961.exp')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/pr13961.exp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/pr13961.exp b/gdb/testsuite/gdb.dwarf2/pr13961.exp index 850b45d..f62e34b 100644 --- a/gdb/testsuite/gdb.dwarf2/pr13961.exp +++ b/gdb/testsuite/gdb.dwarf2/pr13961.exp @@ -22,9 +22,13 @@ if {![dwarf2_support]} { return 0 } +# Some targets have leading underscores on assembly symbols. +set additional_flags [gdb_target_symbol_prefix_flags_asm] + standard_testfile .S -if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] == -1 } { +if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} \ + ${additional_flags}] == -1 } { return -1 } |