Index: gdb/testsuite/gdb.dwarf2/dw2-param-error.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-param-error.exp b/gdb/testsuite/gdb.dwarf2/dw2-param-error.exp |
index 0799d1ecce3dabff73818fd1bbcdeed0edd6dd9b..71faee320377026bf9346f029427a32c2fe117ff 100644 |
--- a/gdb/testsuite/gdb.dwarf2/dw2-param-error.exp |
+++ b/gdb/testsuite/gdb.dwarf2/dw2-param-error.exp |
@@ -19,8 +19,10 @@ if {![dwarf2_support]} { |
return 0 |
} |
-set testfile dw2-param-error |
-if { [prepare_for_testing ${testfile}.exp "${testfile}" "${testfile}-main.c ${testfile}.S" {nodebug}] } { |
+standard_testfile .S dw2-param-error-main.c |
+ |
+if { [prepare_for_testing ${testfile}.exp "${testfile}" \ |
+ [list $srcfile2 $srcfile] {nodebug}] } { |
return -1 |
} |