aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/ending-run.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index ba777d9..8f3bbaf 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2009-07-05 Pedro Alves <pedro@codesourcery.com>
+ * gdb.base/ending-run.exp: Add "step out of main" pattern for
+ mingw32ce.
+
+2009-07-05 Pedro Alves <pedro@codesourcery.com>
+
* gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
VFP format.
diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp
index bc97e37..ccd5f6f 100644
--- a/gdb/testsuite/gdb.base/ending-run.exp
+++ b/gdb/testsuite/gdb.base/ending-run.exp
@@ -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