aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/arrayidx.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.ada/arrayidx.exp')
-rw-r--r--gdb/testsuite/gdb.ada/arrayidx.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.ada/arrayidx.exp b/gdb/testsuite/gdb.ada/arrayidx.exp
index cf19fef..5de1145 100644
--- a/gdb/testsuite/gdb.ada/arrayidx.exp
+++ b/gdb/testsuite/gdb.ada/arrayidx.exp
@@ -27,7 +27,7 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
return -1
}
-if [get_compiler_info ${binfile}] {
+if [get_compiler_info] {
return -1;
}
set old_gcc [expr [test_compiler_info {gcc-[0-3]-*}] \