2012-07-04 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Wed, 4 Jul 2012 11:28:04 +0000 (11:28 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 4 Jul 2012 11:28:04 +0000 (11:28 +0000)
* gdb.mi/mi-reverse.exp: Use supports_reverse and
supports_process_record.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-reverse.exp

index 5bd78539b6fae4b4e8e987a9cb5f790685a8859a..496b09979953651e850c2ae39aa95db5e294d072 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-04  Pedro Alves  <palves@redhat.com>
+
+       * gdb.mi/mi-reverse.exp: Use supports_reverse and
+       supports_process_record.
+
 2012-07-04  Pedro Alves  <palves@redhat.com>
 
        * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
index d33077021236f92b611ae86e6469b6fb67254d80..34baf3f724bda9ffff1f8da9f6c3801cba877335 100644 (file)
@@ -27,7 +27,7 @@
 # but to verify the correct output response to MI operations.
 #
 
-if ![target_info exists gdb,can_reverse] {
+if ![supports_reverse] {
     return
 }
 
@@ -49,7 +49,7 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
 
 mi_run_to_main
 
-if [target_info exists gdb,use_precord] {
+if [supports_process_record] {
     # Activate process record/replay
     if [mi_gdb_test "-interpreter-exec console record" \
        {\^done} "Turn on process record"] {