aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-watch.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-08 11:40:32 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:58 -0700
commite379cbb128e3e672af03bdbb97e6e4085925d1bc (patch)
tree22d4eea8c2afb98a18cb7314ad0c42b02884f647 /gdb/testsuite/gdb.mi/mi-watch.exp
parent9bc8ef1d750796d69d38f1822c8dd6df5729a187 (diff)
downloadgdb-e379cbb128e3e672af03bdbb97e6e4085925d1bc.zip
gdb-e379cbb128e3e672af03bdbb97e6e4085925d1bc.tar.gz
gdb-e379cbb128e3e672af03bdbb97e6e4085925d1bc.tar.bz2
Rename to allow_hw_watchpoint_tests
This changes skip_hw_watchpoint_tests to invert the sense, and renames it to allow_hw_watchpoint_tests.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-watch.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi-watch.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-watch.exp b/gdb/testsuite/gdb.mi/mi-watch.exp
index d6053a1..a6e6f89 100644
--- a/gdb/testsuite/gdb.mi/mi-watch.exp
+++ b/gdb/testsuite/gdb.mi/mi-watch.exp
@@ -20,13 +20,13 @@
# The goal is not to test gdb functionality, which is done by other
# tests, but to verify the correct output response to MI operations.
-# 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]
load_lib mi-support.exp
set MIFLAGS "-i=mi"
@@ -146,9 +146,9 @@ proc test_watchpoint_all {mi_mode type} {
upvar srcdir srcdir
upvar subdir subdir
upvar binfile binfile
- global skip_hw_watchpoint_tests_p
+ global allow_hw_watchpoint_tests_p
- if {$type == "hw" && $skip_hw_watchpoint_tests_p } {
+ if {$type == "hw" && !$allow_hw_watchpoint_tests_p } {
return
}