aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/ending-run.exp
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-07-05 22:38:19 +0000
committerPedro Alves <palves@redhat.com>2009-07-05 22:38:19 +0000
commit8b5a0f4fc0a1325ae5e3743f7a72789afd921f22 (patch)
treea836a4fa4a7d73fdcf3b7f2f78d5e267de1c74dc /gdb/testsuite/gdb.base/ending-run.exp
parent7d93ba58ab7242fd70d969fe394becb8b0a3e917 (diff)
downloadgdb-8b5a0f4fc0a1325ae5e3743f7a72789afd921f22.zip
gdb-8b5a0f4fc0a1325ae5e3743f7a72789afd921f22.tar.gz
gdb-8b5a0f4fc0a1325ae5e3743f7a72789afd921f22.tar.bz2
* gdb.base/ending-run.exp: Add "step out of main" pattern for
mingw32ce.
Diffstat (limited to 'gdb/testsuite/gdb.base/ending-run.exp')
-rw-r--r--gdb/testsuite/gdb.base/ending-run.exp4
1 files changed, 4 insertions, 0 deletions
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