watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 8 May 2018 12:26:19 +0000 (14:26 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 8 May 2018 12:26:19 +0000 (14:26 +0200)
gdb/testsuite/ChangeLog
2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>

* gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watchpoint-unaligned.exp

index 761fb7334c270d880fb839ef1e539667791b366e..d6db46916e60bb4d7fa389c9352d8c0394cfc36d 100644 (file)
@@ -1,3 +1,7 @@
+2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
+
 2018-05-04  Tom Tromey  <tom@tromey.com>
 
        PR python/22730:
index 6bdd4b6d05ecf054e1865b61f8cbfb43b26f0cb7..66358f27475f22450d7aa0c7372cd15b26864c0f 100644 (file)
 
 # Test inserting read watchpoints on unaligned addresses.
 
+if {[skip_hw_watchpoint_tests]} {
+    return 0
+}
+
 standard_testfile
 if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } {
     return -1