[PATCH] gdb.base/ending-run.exp: Check for Cygwin specific message

Corinna Vinschen vinschen@redhat.com
Thu Mar 20 14:11:00 GMT 2003


Hi,

I've checked this in as obvious:

2003-03-20  Corinna Vinschen  <vinschen@redhat.com>

        * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
	when stepping out of main().

Index: gdb.base/ending-run.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/ending-run.exp,v
retrieving revision 1.19
diff -u -p -r1.19 ending-run.exp
--- gdb.base/ending-run.exp	18 Sep 2002 17:20:54 -0000	1.19
+++ gdb.base/ending-run.exp	20 Mar 2003 14:09:34 -0000
@@ -171,6 +171,10 @@ gdb_expect {
 		# This is what happens on sparc64-elf ultra.
 		pass "step out of main"
 	    }
+	    -re ".*in.*dll_crt0_1.*$gdb_prompt $" {
+		# This is what happens on Cygwin.
+	        pass "step out of main"
+	    }
 	    -re ".*Program exited normally.*$gdb_prompt $" {
 		# This is what happens on Linux i86 (and I would expect others)
 		set program_exited 1


Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com



More information about the Gdb-patches mailing list