From 7785df4880f3828db8cf1715038127e6b858a670 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 8 May 2018 14:26:19 +0200 Subject: [PATCH] watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests gdb/testsuite/ChangeLog 2018-05-08 Jan Kratochvil * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/watchpoint-unaligned.exp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 761fb7334c2..d6db46916e6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-05-08 Jan Kratochvil + + * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests. + 2018-05-04 Tom Tromey PR python/22730: diff --git a/gdb/testsuite/gdb.base/watchpoint-unaligned.exp b/gdb/testsuite/gdb.base/watchpoint-unaligned.exp index 6bdd4b6d05e..66358f27475 100644 --- a/gdb/testsuite/gdb.base/watchpoint-unaligned.exp +++ b/gdb/testsuite/gdb.base/watchpoint-unaligned.exp @@ -17,6 +17,10 @@ # 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 -- 2.30.2