From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 3C79C3858433; Sun, 22 Jan 2023 21:28:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3C79C3858433 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674422903; bh=An1itLVOhKbnrZ+gj/uzfC2gC8iTepCSyrOa442RiAE=; h=From:To:Subject:Date:From; b=eCg/nLRp7OiVHYCFW4rye/KY0MeGmnyVHElBrNYTUXOzurff4VoPx84fJ7CTg+LQi adQtCoN59ebTdDZDYf5uHwM1DC296SKWpDjVLeYqsFa0erLiwnyj//n2fiObTlE8i2 4yEHt25F4+848kAmbu7eXlVkbU3Up1PKTQC6aBho= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Minor cleanup in gdb.btrace/enable.exp X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: c6fcbf650263855bd3f9e2cad4588904a13ad3fa X-Git-Newrev: 39ac2b04bf1328c71d2c033810c559edd97d407b Message-Id: <20230122212823.3C79C3858433@sourceware.org> Date: Sun, 22 Jan 2023 21:28:23 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D39ac2b04bf13= 28c71d2c033810c559edd97d407b commit 39ac2b04bf1328c71d2c033810c559edd97d407b Author: Tom Tromey Date: Sun Jan 22 10:53:06 2023 -0700 Minor cleanup in gdb.btrace/enable.exp =20 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: --- gdb/testsuite/gdb.btrace/enable.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }