Index: gdb/testsuite/gdb.reverse/machinestate.exp |
diff --git a/gdb/testsuite/gdb.reverse/machinestate.exp b/gdb/testsuite/gdb.reverse/machinestate.exp |
index 67c4cd69824f55edf812b82f6cfbfa98f94a0725..2b20a5312cde1d5dfc544f2f509b1c1e7db4b8f9 100644 |
--- a/gdb/testsuite/gdb.reverse/machinestate.exp |
+++ b/gdb/testsuite/gdb.reverse/machinestate.exp |
@@ -39,11 +39,10 @@ if ![supports_reverse] { |
return |
} |
-set testfile "machinestate" |
-set srcfile ${testfile}.c |
-set srcfile1 ms1.c |
+standard_testfile .c ms1.c |
-if { [prepare_for_testing $testfile.exp $testfile {machinestate.c ms1.c} ] } { |
+if { [prepare_for_testing $testfile.exp $testfile \ |
+ [list $srcfile $srcfile2]] } { |
return -1 |
} |