aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/watchthreads.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-14 09:38:35 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:55 -0700
commit7c1a12b3e8a2792db0b903c8fcb0f7ac5e314734 (patch)
tree6bbf47e9cf13d99372dc7b81ee1096374f15e7d0 /gdb/testsuite/gdb.threads/watchthreads.exp
parentc76fbc7fc3361ad2be29116df86b8494c4922507 (diff)
downloadgdb-7c1a12b3e8a2792db0b903c8fcb0f7ac5e314734.zip
gdb-7c1a12b3e8a2792db0b903c8fcb0f7ac5e314734.tar.gz
gdb-7c1a12b3e8a2792db0b903c8fcb0f7ac5e314734.tar.bz2
Use require !skip_hw_watchpoint_tests
This changes some tests to use "require !skip_hw_watchpoint_tests".
Diffstat (limited to 'gdb/testsuite/gdb.threads/watchthreads.exp')
-rw-r--r--gdb/testsuite/gdb.threads/watchthreads.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.threads/watchthreads.exp b/gdb/testsuite/gdb.threads/watchthreads.exp
index 0a5369a..d2a95bf 100644
--- a/gdb/testsuite/gdb.threads/watchthreads.exp
+++ b/gdb/testsuite/gdb.threads/watchthreads.exp
@@ -20,9 +20,7 @@
# This test verifies that a watchpoint is detected in the proper thread
# so the test is only meaningful on a system with hardware watchpoints.
-if {[skip_hw_watchpoint_multi_tests]} {
- return 0
-}
+require !skip_hw_watchpoint_multi_tests
proc target_no_stopped_data { } {
return [istarget s390*-*-*]