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] classes.exp: use classes.cc, not misc.cc


This patch changes classes.exp to use its own copy of misc.cc
rather than a shared copy.

Tested on native i686-pc-linux-gnu, gcc v2 and v3, dwarf-2 and stabs+.

I am committing this now.

2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>

	* gdb.cp/classes.cc: New file, copied from misc.cc.
	* gdb.cp/classes.exp: Use classes.cc rather than misc.cc.

Index: classes.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/classes.exp,v
retrieving revision 1.7
diff -c -3 -p -r1.7 classes.exp
*** classes.exp	11 Feb 2004 14:01:25 -0000	1.7
--- classes.exp	9 Mar 2004 17:05:14 -0000
*************** if $tracelevel then {
*** 27,33 ****
  
  if { [skip_cplus_tests] } { continue }
  
! set testfile "misc"
  set srcfile ${testfile}.cc
  set binfile ${objdir}/${subdir}/${testfile}
  
--- 27,33 ----
  
  if { [skip_cplus_tests] } { continue }
  
! set testfile "classes"
  set srcfile ${testfile}.cc
  set binfile ${objdir}/${subdir}/${testfile}
  


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