testsuite: Define and use gdb_target_symbol_prefix_flags_asm.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / dw2-canonicalize-type.exp
index c25e18e0581bdbe48209fe98aa34b50cf1f4a47a..94c98132396c291b98b9f81a14909f7374b32638 100644 (file)
@@ -19,10 +19,14 @@ 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
 set executable ${testfile}
 
-if [prepare_for_testing $testfile.exp $testfile $srcfile {nodebug}] {
+if [prepare_for_testing $testfile.exp $testfile $srcfile \
+       [list nodebug $additional_flags]] {
     return -1
 }
 
This page took 0.036951 seconds and 4 git commands to generate.