This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;
  }
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]