aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/tclint.toml1
-rw-r--r--gdb/testsuite/lib/cache.exp2
2 files changed, 2 insertions, 1 deletions
diff --git a/gdb/tclint.toml b/gdb/tclint.toml
index 143c6b8..ef50894 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 4ebb825..f578072 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
}