diff options
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp b/gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp index 34e514e..5b7bab6 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp @@ -21,9 +21,13 @@ if {![dwarf2_support]} { # This testfile has reproducibility only with cc-with-index.sh. +# 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 } |