From: Tom Tromey Date: Sun, 22 Jan 2023 17:53:06 +0000 (-0700) Subject: Minor cleanup in gdb.btrace/enable.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39ac2b04bf1328c71d2c033810c559edd97d407b;p=binutils-gdb.git 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. --- 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 }