Index: gdb/testsuite/gdb.dwarf2/dw2-var-zero-addr.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-var-zero-addr.exp b/gdb/testsuite/gdb.dwarf2/dw2-var-zero-addr.exp |
index 9df6a7e6df955427a73ecaae545e062f76509170..e149fe1dfb4b3ac2424ae647865cec802d01859f 100644 |
--- a/gdb/testsuite/gdb.dwarf2/dw2-var-zero-addr.exp |
+++ b/gdb/testsuite/gdb.dwarf2/dw2-var-zero-addr.exp |
@@ -19,8 +19,10 @@ if {![dwarf2_support]} { |
return 0 |
} |
-set testfile dw2-var-zero-addr |
-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 |
} |