From: Tom de Vries Date: Sun, 5 Oct 2025 20:50:09 +0000 (+0200) Subject: [gdb/testsuite, tclint] Fix lib/debuginfod-support.exp X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a8bf1dcfbcce8380cd8351b1217477f6ef4511b;p=thirdparty%2Fbinutils-gdb.git [gdb/testsuite, tclint] Fix lib/debuginfod-support.exp --- diff --git a/gdb/tclint.toml b/gdb/tclint.toml index ef508942881..1700b94b406 100644 --- a/gdb/tclint.toml +++ b/gdb/tclint.toml @@ -37,7 +37,6 @@ exclude = [ "gdb/testsuite/lib/aarch64-scalable.exp", "gdb/testsuite/lib/check-test-names.exp", "gdb/testsuite/lib/cp-support.exp", -"gdb/testsuite/lib/debuginfod-support.exp", "gdb/testsuite/lib/d-support.exp", "gdb/testsuite/lib/dwarf.exp", "gdb/testsuite/lib/fortran.exp", diff --git a/gdb/testsuite/lib/debuginfod-support.exp b/gdb/testsuite/lib/debuginfod-support.exp index 7a8baf427f9..ad6963e7af4 100644 --- a/gdb/testsuite/lib/debuginfod-support.exp +++ b/gdb/testsuite/lib/debuginfod-support.exp @@ -18,7 +18,7 @@ # Return true if the debuginfod tests should be run, otherwise, return # false. proc allow_debuginfod_tests {} { - if [is_remote host] { + if {[is_remote host]} { return false } @@ -189,7 +189,7 @@ proc start_debuginfod { db debugdir } { proc stop_debuginfod { } { global debuginfod_spawn_id - if [info exists debuginfod_spawn_id] { + if {[info exists debuginfod_spawn_id]} { kill_wait_spawned_process $debuginfod_spawn_id unset debuginfod_spawn_id }