aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/watchthreads-reorder.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-reorder.exp
parentc76fbc7fc3361ad2be29116df86b8494c4922507 (diff)
downloadbinutils-7c1a12b3e8a2792db0b903c8fcb0f7ac5e314734.zip
binutils-7c1a12b3e8a2792db0b903c8fcb0f7ac5e314734.tar.gz
binutils-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-reorder.exp')
-rw-r--r--gdb/testsuite/gdb.threads/watchthreads-reorder.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.threads/watchthreads-reorder.exp b/gdb/testsuite/gdb.threads/watchthreads-reorder.exp
index d223c11..2469b3a 100644
--- a/gdb/testsuite/gdb.threads/watchthreads-reorder.exp
+++ b/gdb/testsuite/gdb.threads/watchthreads-reorder.exp
@@ -25,9 +25,8 @@
# could be assigned during continuation of a thread with pending SIGTRAP to the
# different/new watchpoint, just based on the watchpoint/debug register number.
-if {[skip_hw_watchpoint_access_tests]
- || [skip_hw_watchpoint_multi_tests]
- || ![istarget *-*-linux*]} {
+require !skip_hw_watchpoint_access_tests !skip_hw_watchpoint_multi_tests
+if {![istarget *-*-linux*]} {
return 0
}