aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/structs2.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/structs2.exp')
-rw-r--r--gdb/testsuite/gdb.base/structs2.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/structs2.exp b/gdb/testsuite/gdb.base/structs2.exp
index 2d505d3..9005fbd 100644
--- a/gdb/testsuite/gdb.base/structs2.exp
+++ b/gdb/testsuite/gdb.base/structs2.exp
@@ -20,7 +20,7 @@ set binfile ${objdir}/${subdir}/${testfile}
# Create and source the file that provides information about the compiler
# used to compile the test case.
-if [get_compiler_info ${binfile}] {
+if [get_compiler_info] {
return -1;
}