From: Pedro Alves Date: Sun, 5 Jul 2009 22:38:19 +0000 (+0000) Subject: * gdb.base/ending-run.exp: Add "step out of main" pattern for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b5a0f4fc0a1325ae5e3743f7a72789afd921f22;p=binutils-gdb.git * gdb.base/ending-run.exp: Add "step out of main" pattern for mingw32ce. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ba777d98aec..8f3bbaf4ea9 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-07-05 Pedro Alves + + * gdb.base/ending-run.exp: Add "step out of main" pattern for + mingw32ce. + 2009-07-05 Pedro Alves * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp index bc97e373157..ccd5f6f7a84 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