This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/testsuite/cp] namespace.exp: call get_compiler_info right
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: carlton at kealia dot com, gdb-patches at sources dot redhat dot com
- Date: Wed, 7 Jan 2004 03:43:27 -0500 (EST)
- Subject: [patch/testsuite/cp] namespace.exp: call get_compiler_info right
Another hp-ux micro-patch.
Tested on native i686-pc-linux-gnu.
Tested on native hppa2.0w-hp-hpux11.11.
I am committing this now.
Michael C
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/namespace.exp: Call get_compiler_info with "c++".
Index: namespace.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/namespace.exp,v
retrieving revision 1.4
diff -c -3 -p -r1.4 namespace.exp
*** namespace.exp 2 Jan 2004 06:38:01 -0000 1.4
--- namespace.exp 6 Jan 2004 22:30:57 -0000
*************** set srcfile1 ${testfile}1.cc
*** 45,51 ****
set objfile1 ${objdir}/${subdir}/${testfile}1.o
set binfile ${objdir}/${subdir}/${testfile}
! if [get_compiler_info ${binfile}] {
return -1;
}
--- 45,51 ----
set objfile1 ${objdir}/${subdir}/${testfile}1.o
set binfile ${objdir}/${subdir}/${testfile}
! if [get_compiler_info ${binfile} c++] {
return -1;
}