diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-08 10:57:35 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-13 13:18:57 -0700 |
commit | 9bc8ef1d750796d69d38f1822c8dd6df5729a187 (patch) | |
tree | f1c57b5d81500805166f0dc3daca3c07038488da /gdb/testsuite/lib/gdb.exp | |
parent | 435d58376aae933ddb8f2a2f55d24dc93c463bf0 (diff) | |
download | gdb-9bc8ef1d750796d69d38f1822c8dd6df5729a187.zip gdb-9bc8ef1d750796d69d38f1822c8dd6df5729a187.tar.gz gdb-9bc8ef1d750796d69d38f1822c8dd6df5729a187.tar.bz2 |
Rename to allow_hw_watchpoint_multi_tests
This changes skip_hw_watchpoint_multi_tests to invert the sense, and
renames it to allow_hw_watchpoint_multi_tests.
Diffstat (limited to 'gdb/testsuite/lib/gdb.exp')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 13d1ae8..446f89a 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -4064,21 +4064,21 @@ proc skip_hw_watchpoint_tests {} { return 1 } -# Return a 1 if we should skip tests that require *multiple* hardware +# Return a 1 if we should run tests that require *multiple* hardware # watchpoints to be active at the same time -proc skip_hw_watchpoint_multi_tests {} { +proc allow_hw_watchpoint_multi_tests {} { if { [skip_hw_watchpoint_tests] } { - return 1 + return 0 } # These targets support just a single hardware watchpoint if { [istarget "arm*-*-*"] || [istarget "powerpc*-*-linux*"] } { - return 1 + return 0 } - return 0 + return 1 } # Return a 1 if we should run tests that require read/access watchpoints |