Index: gdb/testsuite/gdb.dwarf2/dw2-op-call.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-op-call.exp b/gdb/testsuite/gdb.dwarf2/dw2-op-call.exp |
index cd6e4f8af6bdce76460514da80f5bcf38cc9c03e..dcd9b20f012fb8579047363659df52abcfa25d8d 100644 |
--- a/gdb/testsuite/gdb.dwarf2/dw2-op-call.exp |
+++ b/gdb/testsuite/gdb.dwarf2/dw2-op-call.exp |
@@ -21,8 +21,10 @@ if {![dwarf2_support]} { |
return 0 |
} |
-set testfile "dw2-op-call" |
-if { [prepare_for_testing ${testfile}.exp ${testfile} [list ${testfile}.S main.c] {nodebug}] } { |
+standard_testfile .S main.c |
+ |
+if { [prepare_for_testing ${testfile}.exp ${testfile} \ |
+ [list $srcfile $srcfile2] {nodebug}] } { |
return -1 |
} |