From 14bea4e91b71f64a6fa263e441f018592e594dcc Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Sun, 5 Oct 2025 22:50:09 +0200 Subject: [PATCH] [gdb/testsuite, tclint] Fix lib/prompt.exp --- gdb/tclint.toml | 1 - gdb/testsuite/lib/prompt.exp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) 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 -- 2.47.3