aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/watchpoint-running.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/watchpoint-running.exp')
-rw-r--r--gdb/testsuite/gdb.base/watchpoint-running.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/watchpoint-running.exp b/gdb/testsuite/gdb.base/watchpoint-running.exp
index c75309e..c3aae30 100644
--- a/gdb/testsuite/gdb.base/watchpoint-running.exp
+++ b/gdb/testsuite/gdb.base/watchpoint-running.exp
@@ -125,7 +125,7 @@ proc test {stop_mode hw} {
}
foreach hw {0 1} {
- if {!$allow_hw_watchpoint_tests_p} {
+ if {$hw && !$allow_hw_watchpoint_tests_p} {
continue
}
foreach stop_mode {all-stop non-stop} {