aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/complex.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/complex.exp')
-rw-r--r--gdb/testsuite/gdb.base/complex.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/complex.exp b/gdb/testsuite/gdb.base/complex.exp
index ff403b5..2ce60f1 100644
--- a/gdb/testsuite/gdb.base/complex.exp
+++ b/gdb/testsuite/gdb.base/complex.exp
@@ -28,7 +28,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $opt
# Start with a fresh gdb.
-if [get_compiler_info ${binfile}] {
+if [get_compiler_info] {
return -1
}