summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.reverse/machinestate-precsave.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.reverse/machinestate-precsave.exp')
-rw-r--r--gdb/testsuite/gdb.reverse/machinestate-precsave.exp7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.reverse/machinestate-precsave.exp b/gdb/testsuite/gdb.reverse/machinestate-precsave.exp
index 944946dde57..5f7745a7e5a 100644
--- a/gdb/testsuite/gdb.reverse/machinestate-precsave.exp
+++ b/gdb/testsuite/gdb.reverse/machinestate-precsave.exp
@@ -40,11 +40,10 @@ if ![supports_process_record] {
return
}
-set testfile "machinestate"
-set srcfile ${testfile}.c
-set srcfile1 ms1.c
+standard_testfile machinestate.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
}