This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Fix ending-run.exp: step out of main test on mingw32ce.
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 5 Jul 2009 23:40:25 +0100
- Subject: Fix ending-run.exp: step out of main test on mingw32ce.
This fixes:
FAIL: gdb.base/ending-run.exp: step out of main
... on mingw32ce. Tested on arm, should fix it on x86 too.
Checked in.
--
Pedro Alves
2009-07-05 Pedro Alves <pedro@codesourcery.com>
* gdb.base/ending-run.exp: Add "step out of main" pattern for
mingw32ce.
---
gdb/testsuite/gdb.base/ending-run.exp | 4 ++++
1 file changed, 4 insertions(+)
Index: src/gdb/testsuite/gdb.base/ending-run.exp
===================================================================
--- src.orig/gdb/testsuite/gdb.base/ending-run.exp 2009-07-05 23:33:23.000000000 +0100
+++ src/gdb/testsuite/gdb.base/ending-run.exp 2009-07-05 23:35:07.000000000 +0100
@@ -148,6 +148,10 @@ gdb_expect {
# This is what happens on Cygwin.
pass "step out of main"
}
+ -re ".*WinMain.*$gdb_prompt $" {
+ # This is what happens on mingw32ce.
+ 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