aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/pr-1023.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/pr-1023.exp')
-rw-r--r--gdb/testsuite/gdb.cp/pr-1023.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/pr-1023.exp b/gdb/testsuite/gdb.cp/pr-1023.exp
index 0eec05c..ff5d3fa 100644
--- a/gdb/testsuite/gdb.cp/pr-1023.exp
+++ b/gdb/testsuite/gdb.cp/pr-1023.exp
@@ -33,7 +33,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
return -1
}
-if [get_compiler_info ${binfile} "c++"] {
+if [get_compiler_info "c++"] {
return -1
}