aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/psmang.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/psmang.exp')
-rw-r--r--gdb/testsuite/gdb.cp/psmang.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/psmang.exp b/gdb/testsuite/gdb.cp/psmang.exp
index 605f8eb..1dc5368 100644
--- a/gdb/testsuite/gdb.cp/psmang.exp
+++ b/gdb/testsuite/gdb.cp/psmang.exp
@@ -181,7 +181,7 @@ if { [skip_cplus_tests] } { continue }
set testfile "psmang"
set binfile ${objdir}/${subdir}/${testfile}
-if [get_compiler_info ${binfile} "c++"] {
+if [get_compiler_info "c++"] {
return -1;
}