This is the mail archive of the gdb-patches@sourceware.cygnus.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]

gdb.base/watchpoint.exp: cleanup


Hello,

Any objections?  Cleans up a watchpoint pass.

	Andrew
Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>

	* gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
 	a pass case.

Index: gdb/testsuite/gdb.base/watchpoint.exp
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/testsuite/gdb.base/watchpoint.exp,v
retrieving revision 1.41
diff -p -r1.41 watchpoint.exp
*** watchpoint.exp	1999/07/30 01:41:44	1.41
--- watchpoint.exp	1999/10/06 02:50:55
*************** proc test_stepping {} {
*** 388,394 ****
  
  	send_gdb "finish\n"
  	gdb_expect {
! 	    -re "Run.*exit from.*marker1.* at" { }
  	    default { fail "finish from marker1" ; return }
  	}
  
--- 388,396 ----
  
  	send_gdb "finish\n"
  	gdb_expect {
! 	    -re "Run.*exit from.*marker1.* at" {
! 		pass "finish from marker1"
! 	    }
  	    default { fail "finish from marker1" ; return }
  	}
  


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