aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/cond-eval-mode.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/cond-eval-mode.exp')
-rw-r--r--gdb/testsuite/gdb.base/cond-eval-mode.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/cond-eval-mode.exp b/gdb/testsuite/gdb.base/cond-eval-mode.exp
index 010350f..16fb067 100644
--- a/gdb/testsuite/gdb.base/cond-eval-mode.exp
+++ b/gdb/testsuite/gdb.base/cond-eval-mode.exp
@@ -15,13 +15,13 @@
# Test 'set breakpoint condition-evaluation' settings
-# The skip_hw_watchpoint_tests checks if watchpoints are supported by the
+# The allow_hw_watchpoint_tests checks if watchpoints are supported by the
# processor. On PowerPC, the check runs a small test program under gdb
# to determine if the Power processor supports HW watchpoints. The check
# must be done before starting the test so as to not disrupt the execution
# of the actual test.
-set skip_hw_watchpoint_tests_p [skip_hw_watchpoint_tests]
+set allow_hw_watchpoint_tests_p [allow_hw_watchpoint_tests]
standard_testfile
@@ -119,10 +119,10 @@ proc test_break { break_command } {
#
proc test_watch { watch_command } {
global gdb_prompt
- global skip_hw_watchpoint_tests_p
+ global allow_hw_watchpoint_tests_p
with_test_prefix "$watch_command" {
- if {$skip_hw_watchpoint_tests_p} {
+ if {!$allow_hw_watchpoint_tests_p} {
unsupported "no target support"
return
}