aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/watchthreads.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.threads/watchthreads.exp')
-rw-r--r--gdb/testsuite/gdb.threads/watchthreads.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.threads/watchthreads.exp b/gdb/testsuite/gdb.threads/watchthreads.exp
index c852e5e..a46cd60 100644
--- a/gdb/testsuite/gdb.threads/watchthreads.exp
+++ b/gdb/testsuite/gdb.threads/watchthreads.exp
@@ -24,8 +24,8 @@ if $tracelevel {
# 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 [target_info exists gdb,no_hardware_watchpoints] {
- return 0;
+if {[skip_hw_watchpoint_multi_tests]} {
+ return 0
}
proc target_no_stopped_data { } {