aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/tclint.toml1
-rw-r--r--gdb/testsuite/lib/ada.exp2
2 files changed, 1 insertions, 2 deletions
diff --git a/gdb/tclint.toml b/gdb/tclint.toml
index 1d77b08..8807c1d 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/ada.exp",
"gdb/testsuite/lib/cache.exp",
"gdb/testsuite/lib/check-test-names.exp",
"gdb/testsuite/lib/completion-support.exp",
diff --git a/gdb/testsuite/lib/ada.exp b/gdb/testsuite/lib/ada.exp
index 50067eb..04aaee1 100644
--- a/gdb/testsuite/lib/ada.exp
+++ b/gdb/testsuite/lib/ada.exp
@@ -111,7 +111,7 @@ proc gdb_compile_ada_1 {source dest type options} {
# gdb_compile to determine whether the build has succeeded or not.
# We therefore simply check whether the dest file has been created
# or not. Unless not present, the build has succeeded.
- if [file exists $dest] { set result "" }
+ if {[file exists $dest]} { set result "" }
return $result
}