aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.reverse/watch-reverse.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/watch-reverse.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/watch-reverse.exp')
-rw-r--r--gdb/testsuite/gdb.reverse/watch-reverse.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.reverse/watch-reverse.exp b/gdb/testsuite/gdb.reverse/watch-reverse.exp
index ba91e9b..70adecf 100644
--- a/gdb/testsuite/gdb.reverse/watch-reverse.exp
+++ b/gdb/testsuite/gdb.reverse/watch-reverse.exp
@@ -18,7 +18,7 @@
# with watchpoints.
-if ![target_info exists gdb,can_reverse] {
+if ![supports_reverse] {
return
}
@@ -32,7 +32,7 @@ if { [prepare_for_testing $testfile.exp $testfile $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"
}