Index: gdb/testsuite/gdb.reverse/break-precsave.exp |
diff --git a/gdb/testsuite/gdb.reverse/break-precsave.exp b/gdb/testsuite/gdb.reverse/break-precsave.exp |
index 54c3840b17493085c17095a47ec3afe616a964ed..af0f769b3043a94f7daf693a1049eccb197884e1 100644 |
--- a/gdb/testsuite/gdb.reverse/break-precsave.exp |
+++ b/gdb/testsuite/gdb.reverse/break-precsave.exp |
@@ -21,8 +21,8 @@ if ![supports_process_record] { |
return |
} |
-set testfile "break-reverse" |
-set srcfile ${testfile}.c |
+standard_testfile break-reverse.c |
+set precsave [standard_output_file break.precsave] |
if { [prepare_for_testing $testfile.exp $testfile $srcfile] } { |
return -1 |
@@ -46,14 +46,14 @@ gdb_test "break $end_location" \ |
gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main" |
-gdb_test "record save break.precsave" \ |
- "Saved core file break.precsave with execution log\." \ |
+gdb_test "record save $precsave" \ |
+ "Saved core file $precsave with execution log\." \ |
"save process recfile" |
gdb_test "kill" "" "Kill process, prepare to debug log file" \ |
"Kill the program being debugged\\? \\(y or n\\) " "y" |
-gdb_test "record restore break.precsave" \ |
+gdb_test "record restore $precsave" \ |
"Program terminated with signal .*" \ |
"reload precord save file" |