* gdb.base/ending-run.exp: Add "step out of main" pattern for

mingw32ce.
This commit is contained in:
Pedro Alves 2009-07-05 22:38:19 +00:00
parent 7d93ba58ab
commit 8b5a0f4fc0
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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