diff options
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.exp')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.exp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.exp b/gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.exp index f23d3a5..beb5dc3 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.exp @@ -19,8 +19,12 @@ 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]} { +if {[prepare_for_testing $testfile.exp $testfile $srcfile \ + $additional_flags]} { return -1 } |