From: Tom de Vries Date: Sun, 5 Oct 2025 20:50:09 +0000 (+0200) Subject: [gdb/testsuite, tclint] Fix lib/prompt.exp X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=14bea4e91b71f64a6fa263e441f018592e594dcc;p=thirdparty%2Fbinutils-gdb.git [gdb/testsuite, tclint] Fix lib/prompt.exp --- diff --git a/gdb/tclint.toml b/gdb/tclint.toml index 1edad001ba6..565dbaae701 100644 --- a/gdb/tclint.toml +++ b/gdb/tclint.toml @@ -47,7 +47,6 @@ exclude = [ "gdb/testsuite/lib/pascal.exp", "gdb/testsuite/lib/perftest.exp", "gdb/testsuite/lib/prelink-support.exp", -"gdb/testsuite/lib/prompt.exp", "gdb/testsuite/lib/rust-support.exp", "gdb/testsuite/lib/selftest-support.exp", "gdb/testsuite/lib/trace-support.exp", diff --git a/gdb/testsuite/lib/prompt.exp b/gdb/testsuite/lib/prompt.exp index 7fa131bf20f..0473d69e624 100644 --- a/gdb/testsuite/lib/prompt.exp +++ b/gdb/testsuite/lib/prompt.exp @@ -44,11 +44,11 @@ proc default_prompt_gdb_start { } { verbose "Spawning $GDB $INTERNAL_GDBFLAGS $GDBFLAGS" gdb_write_cmd_file "$GDB $INTERNAL_GDBFLAGS $GDBFLAGS" - if [info exists gdb_spawn_id] { + if {[info exists gdb_spawn_id]} { return 0 } - if ![is_remote host] { + if {![is_remote host]} { if {[which $GDB] == 0} { perror "$GDB does not exist." exit 1