aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.btrace
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-08 10:53:55 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:57 -0700
commitcadfc59b0d721599b32fab6eeaba401360602e0f (patch)
treea6a2ffb59786db5c5226f203b89afd5b67dc04e0 /gdb/testsuite/gdb.btrace
parent57b7402d206a215ef4689ed402467bbfc82375f3 (diff)
downloadbinutils-cadfc59b0d721599b32fab6eeaba401360602e0f.zip
binutils-cadfc59b0d721599b32fab6eeaba401360602e0f.tar.gz
binutils-cadfc59b0d721599b32fab6eeaba401360602e0f.tar.bz2
Rename to allow_gdbserver_tests
This changes skip_gdbserver_tests to invert the sense, and renames it to allow_gdbserver_tests.
Diffstat (limited to 'gdb/testsuite/gdb.btrace')
-rw-r--r--gdb/testsuite/gdb.btrace/enable.exp4
-rw-r--r--gdb/testsuite/gdb.btrace/reconnect.exp2
2 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.btrace/enable.exp b/gdb/testsuite/gdb.btrace/enable.exp
index acad4c6..113b8e1 100644
--- a/gdb/testsuite/gdb.btrace/enable.exp
+++ b/gdb/testsuite/gdb.btrace/enable.exp
@@ -70,13 +70,13 @@ gdb_test "record btrace" "The process is already being recorded\\. Use \"record
# continue to the end and make sure we don't die
gdb_test "continue" ".*Inferior.*exited.*" "continue to end"
-# skip_gdbserver_tests requires GDB not running.
+# allow_gdbserver_tests requires GDB not running.
gdb_exit
# skip the rerun test when using gdbserver
# otherwise rerun twice, target should be automatically disabled
load_lib gdbserver-support.exp
-if [skip_gdbserver_tests] {
+if !{[allow_gdbserver_tests]} {
unsupported "target does not support gdbserver"
return 0
}
diff --git a/gdb/testsuite/gdb.btrace/reconnect.exp b/gdb/testsuite/gdb.btrace/reconnect.exp
index 1da9f4b..2c83583 100644
--- a/gdb/testsuite/gdb.btrace/reconnect.exp
+++ b/gdb/testsuite/gdb.btrace/reconnect.exp
@@ -20,7 +20,7 @@
load_lib gdbserver-support.exp
require allow_btrace_tests
-require !skip_gdbserver_tests
+require allow_gdbserver_tests
standard_testfile
if [prepare_for_testing "failed to prepare" $testfile $srcfile] {