aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-01-07 08:44:32 +0000
committerMichael Chastain <mec@google.com>2004-01-07 08:44:32 +0000
commit753ccc7a8b5f1475df9dce7b0c6c84cdee196b7f (patch)
tree25b80785f17d575997cc4caa604cfe65121e0d1f
parenteca3e36bf8f1637ff3f4add6176ba978fc4e8995 (diff)
downloadgdb-753ccc7a8b5f1475df9dce7b0c6c84cdee196b7f.zip
gdb-753ccc7a8b5f1475df9dce7b0c6c84cdee196b7f.tar.gz
gdb-753ccc7a8b5f1475df9dce7b0c6c84cdee196b7f.tar.bz2
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/namespace.exp: Call get_compiler_info with "c++".
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.cp/namespace.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index af04655..8bf26a5 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
+ * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
+
+2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
+
* gdb.base/cvexpr.c: Be type-safe with function pointers and
data pointers.
diff --git a/gdb/testsuite/gdb.cp/namespace.exp b/gdb/testsuite/gdb.cp/namespace.exp
index 1720f0f..fda393e 100644
--- a/gdb/testsuite/gdb.cp/namespace.exp
+++ b/gdb/testsuite/gdb.cp/namespace.exp
@@ -45,7 +45,7 @@ set srcfile1 ${testfile}1.cc
set objfile1 ${objdir}/${subdir}/${testfile}1.o
set binfile ${objdir}/${subdir}/${testfile}
-if [get_compiler_info ${binfile}] {
+if [get_compiler_info ${binfile} c++] {
return -1;
}