aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.reverse/i386-precsave.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-07-11 15:21:36 +0000
committerTom Tromey <tromey@redhat.com>2012-07-11 15:21:36 +0000
commit55baab269c2296f4749a5a979fdc8f7e6414dd70 (patch)
tree5fe68ff39944f2a5dc23838436fb1f817fd848a2 /gdb/testsuite/gdb.reverse/i386-precsave.exp
parent1f3212db282db657b7511fe0bee6285eafb67351 (diff)
downloadbinutils-55baab269c2296f4749a5a979fdc8f7e6414dd70.zip
binutils-55baab269c2296f4749a5a979fdc8f7e6414dd70.tar.gz
binutils-55baab269c2296f4749a5a979fdc8f7e6414dd70.tar.bz2
* gdb.reverse/break-precsave.exp: Use standard_output_file.
* gdb.reverse/consecutive-precsave.exp: Use standard_output_file. * gdb.reverse/finish-precsave.exp: Use standard_output_file. * gdb.reverse/i386-precsave.exp: Use standard_output_file. * gdb.reverse/machinestate-precsave.exp: Use standard_output_file. * gdb.reverse/sigall-precsave.exp: Use standard_output_file. * gdb.reverse/solib-precsave.exp: Use standard_output_file. * gdb.reverse/step-precsave.exp: Use standard_output_file. * gdb.reverse/until-precsave.exp: Use standard_output_file. * gdb.reverse/watch-precsave.exp: Use standard_output_file.
Diffstat (limited to 'gdb/testsuite/gdb.reverse/i386-precsave.exp')
-rw-r--r--gdb/testsuite/gdb.reverse/i386-precsave.exp7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.reverse/i386-precsave.exp b/gdb/testsuite/gdb.reverse/i386-precsave.exp
index d1fcd8b..962b374 100644
--- a/gdb/testsuite/gdb.reverse/i386-precsave.exp
+++ b/gdb/testsuite/gdb.reverse/i386-precsave.exp
@@ -31,6 +31,7 @@ if ![istarget "i?86-*linux*"] then {
}
standard_testfile i386-reverse.c
+set precsave [standard_output_file i386.precsave]
# some targets have leading underscores on assembly symbols.
set additional_flags [gdb_target_symbol_prefix_flags]
@@ -59,14 +60,14 @@ gdb_test "break $end_of_main" \
gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main"
-gdb_test "record save i386.precsave" \
- "Saved core file i386.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 i386.precsave" \
+gdb_test "record restore $precsave" \
"Program terminated with signal .*" \
"reload precord save file"