From e79664bb56a9c4d4d8762b430ce245390efdd93a 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/cache.exp --- gdb/tclint.toml | 1 - gdb/testsuite/lib/cache.exp | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gdb/tclint.toml b/gdb/tclint.toml index 143c6b87a3c..ef508942881 100644 --- a/gdb/tclint.toml +++ b/gdb/tclint.toml @@ -35,7 +35,6 @@ exclude = [ "gdb/testsuite/config", "gdb/testsuite/lib/aarch64.exp", "gdb/testsuite/lib/aarch64-scalable.exp", -"gdb/testsuite/lib/cache.exp", "gdb/testsuite/lib/check-test-names.exp", "gdb/testsuite/lib/cp-support.exp", "gdb/testsuite/lib/debuginfod-support.exp", diff --git a/gdb/testsuite/lib/cache.exp b/gdb/testsuite/lib/cache.exp index 4ebb8259957..f5780721e0f 100644 --- a/gdb/testsuite/lib/cache.exp +++ b/gdb/testsuite/lib/cache.exp @@ -278,6 +278,7 @@ proc gdb_do_cache {name args} { proc gdb_caching_proc {name arglist body} { # Define the underlying proc that we'll call. set real_name gdb_real__$name + # tclint-disable-next-line command-args proc $real_name $arglist $body # Define the advertised proc. @@ -286,5 +287,6 @@ proc gdb_caching_proc {name arglist body} { lappend caching_proc_body $$arg } set caching_proc_body [join $caching_proc_body] + # tclint-disable-next-line command-args proc $name $arglist $caching_proc_body } -- 2.47.3