aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.reverse/machinestate.exp
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-11-08 08:23:49 +0000
committerYao Qi <yao@codesourcery.com>2011-11-08 08:23:49 +0000
commitd3895d7d29f0063fdae6bc1a78a23fcfb2570fed (patch)
tree296b00d8d3d12e610d95a925cff8694009378663 /gdb/testsuite/gdb.reverse/machinestate.exp
parentce3b0ff733bf157b81e9548f72a3c49c117252ed (diff)
downloadgdb-d3895d7d29f0063fdae6bc1a78a23fcfb2570fed.zip
gdb-d3895d7d29f0063fdae6bc1a78a23fcfb2570fed.tar.gz
gdb-d3895d7d29f0063fdae6bc1a78a23fcfb2570fed.tar.bz2
gdb/testsuite/
* gdb.exp (supports_process_record): New. (supports_reverse): New. * gdb.reverse/break-precsave.exp: Call support_process_record to run test conditionally. * gdb.reverse/consecutive-precsave.exp: Likewise. * gdb.reverse/i386-precsave.exp: Likewise. * gdb.reverse/machinestate-precsave.exp: Likewise. * gdb.reverse/solib-precsave.exp: Likewise. * gdb.reverse/step-precsave.exp: Likewise. * gdb.reverse/until-precsave.exp: Likewise. * gdb.reverse/watch-precsave.exp: Likewise. * gdb.reverse/break-reverse.exp: Call support_reverse to run test conditionally. * gdb.reverse/consecutive-reverse.exp: Likewise. * gdb.reverse/finish-precsave.exp: Likewise. * gdb.reverse/finish-reverse-bkpt.exp: Likewise. * gdb.reverse/finish-reverse.exp: Likewise. * gdb.reverse/i386-reverse.exp: Likewise. * gdb.reverse/i386-sse-reverse.exp: Likewise. * gdb.reverse/machinestate.exp: Likewise. * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise. * gdb.reverse/sigall-precsave.exp: Likewise. * gdb.reverse/sigall-reverse.exp: Likewise. * gdb.reverse/solib-reverse.exp: Likewise. * gdb.reverse/step-reverse.exp: Likewise. * gdb.reverse/until-reverse.exp: Likewise. * gdb.reverse/watch-reverse.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.reverse/machinestate.exp')
-rw-r--r--gdb/testsuite/gdb.reverse/machinestate.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.reverse/machinestate.exp b/gdb/testsuite/gdb.reverse/machinestate.exp
index bc2516e..d51a4a3 100644
--- a/gdb/testsuite/gdb.reverse/machinestate.exp
+++ b/gdb/testsuite/gdb.reverse/machinestate.exp
@@ -35,7 +35,7 @@
# Test forward replay
#
-if ![target_info exists gdb,can_reverse] {
+if ![supports_reverse] {
return
}
@@ -56,7 +56,7 @@ set endmain [gdb_get_line_number " end main " $srcfile]
runto main
-if [target_info exists gdb,use_precord] {
+if [supports_process_record] {
# Activate process record/replay
gdb_test_no_output "record" "Turn on process record"
}