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 5bd7853..496b099 100644 (file)
@@ -1,5 +1,10 @@
 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
        endings.
        * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
index d330770..34baf3f 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"] {