testsuite: Define and use gdb_target_symbol_prefix_flags_asm.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / dw2-minsym-in-cu.exp
index 34e514e6b9a1321a58d28b7f3fa9e5052b669371..5b7bab60c1da376e201399d8ea21f3dedb255897 100644 (file)
@@ -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
 }
 
This page took 0.037768 seconds and 4 git commands to generate.