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]

Re: [RFA] testsuite/gdb.base/ending-run.exp: Add sh specific case


Corinna Vinschen writes:
 > Hi,
 > 
 > the comment in the source code says it all.  Ok to commit?
 > 

Sure. All passes with this?

 > Corinna
 > 
 > 	* gdb.base/ending-run.exp: Add sh specific case.
 > 
 > Index: gdb.base/ending-run.exp
 > ===================================================================
 > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/ending-run.exp,v
 > retrieving revision 1.21
 > diff -u -p -r1.21 ending-run.exp
 > --- gdb.base/ending-run.exp	3 Apr 2003 16:34:48 -0000	1.21
 > +++ gdb.base/ending-run.exp	3 Oct 2003 11:01:53 -0000
 > @@ -202,6 +202,11 @@ gdb_expect {
 >  	    -re ".*in __wrap__?main ().*$gdb_prompt $" {
 >  		pass "step out of main (status wrapper)"
 >  	    }
 > +	    -re "__setup_argv_for_main (.*).*$gdb_prompt $" {
 > +		# On sh, another wrapper function (start_l) exists, so
 > +		# another `next' is necessary.
 > +		gdb_test "next" ".*in start_l ().*" "step out of main (on sh)"
 > +	    }
 >              -re ".*$gdb_prompt $" { fail "step out of main (at end 2)" }
 >  	    timeout { 
 >  		fail "step out of main (hang or timeout on step at end 2)" 
 > 
 > 
 > -- 
 > Corinna Vinschen
 > Cygwin Developer
 > Red Hat, Inc.


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