summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-22 10:53:06 -0700
committerTom Tromey <tom@tromey.com>2023-01-22 14:27:26 -0700
commit39ac2b04bf1328c71d2c033810c559edd97d407b (patch)
tree64d78c2826b31f6873a8aa26ab8c565b6e871567
parentc6fcbf650263855bd3f9e2cad4588904a13ad3fa (diff)
downloadbinutils-gdb-39ac2b04bf1328c71d2c033810c559edd97d407b.tar.gz
Minor cleanup in gdb.btrace/enable.exp
I noticed a weird-looking bit of code in gdb.btrace/enable.exp that is left over from an earlier change. This patch moves the "!" inside the braces, where it belongs.
-rw-r--r--gdb/testsuite/gdb.btrace/enable.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.btrace/enable.exp b/gdb/testsuite/gdb.btrace/enable.exp
index 113b8e18aad..6a30d7d9187 100644
--- a/gdb/testsuite/gdb.btrace/enable.exp
+++ b/gdb/testsuite/gdb.btrace/enable.exp
@@ -76,7 +76,7 @@ gdb_exit
# skip the rerun test when using gdbserver
# otherwise rerun twice, target should be automatically disabled
load_lib gdbserver-support.exp
-if !{[allow_gdbserver_tests]} {
+if {![allow_gdbserver_tests]} {
unsupported "target does not support gdbserver"
return 0
}