aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/cplusfuncs.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/cplusfuncs.exp')
-rw-r--r--gdb/testsuite/gdb.cp/cplusfuncs.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/cplusfuncs.exp b/gdb/testsuite/gdb.cp/cplusfuncs.exp
index 5bca25e..0a16a8a 100644
--- a/gdb/testsuite/gdb.cp/cplusfuncs.exp
+++ b/gdb/testsuite/gdb.cp/cplusfuncs.exp
@@ -23,7 +23,7 @@ set testfile "cplusfuncs"
set srcfile ${testfile}.cc
set binfile ${objdir}/${subdir}/${testfile}
-if { [get_compiler_info $binfile "c++"] } {
+if { [get_compiler_info "c++"] } {
return -1
}