]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.dwarf2/pr13961.exp
testsuite: Define and use gdb_target_symbol_prefix_flags_asm.
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / pr13961.exp
index 850b45d8dccb452e3a519f2e18f27233c829fc1d..f62e34bf552b0236348297b7883be7479a99974c 100644 (file)
@@ -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
 }