This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] gdb.base/ending-run.exp: Check for Cygwin specific message
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 20 Mar 2003 15:11:20 +0100
- Subject: [PATCH] gdb.base/ending-run.exp: Check for Cygwin specific message
- Reply-to: gdb-patches at sources dot redhat dot com
Hi,
I've checked this in as obvious:
2003-03-20 Corinna Vinschen <vinschen at redhat dot 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 at redhat dot com