* gdb.base/ending-run.exp: Add "step out of main" pattern for
authorPedro Alves <palves@redhat.com>
Sun, 5 Jul 2009 22:38:19 +0000 (22:38 +0000)
committerPedro Alves <palves@redhat.com>
Sun, 5 Jul 2009 22:38:19 +0000 (22:38 +0000)
mingw32ce.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/ending-run.exp

index ba777d98aec8b8c7188a17e1191cba954d28d239..8f3bbaf4ea97d62c5b40394fe039df7f6a5bd9b5 100644 (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
index bc97e37315726d4c0bc383a5cbf7d71d42757f3c..ccd5f6f7a84dcf19b4241c5a905378e317443934 100644 (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