aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/miscexprs.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/miscexprs.exp')
-rw-r--r--gdb/testsuite/gdb.base/miscexprs.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/miscexprs.exp b/gdb/testsuite/gdb.base/miscexprs.exp
index caafe05..cc27cc5 100644
--- a/gdb/testsuite/gdb.base/miscexprs.exp
+++ b/gdb/testsuite/gdb.base/miscexprs.exp
@@ -46,7 +46,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [lis
return -1
}
-if [get_compiler_info ${binfile}] {
+if [get_compiler_info] {
return -1;
}