* gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 20 Mar 2003 14:10:17 +0000 (14:10 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 20 Mar 2003 14:10:17 +0000 (14:10 +0000)
when stepping out of main().

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

index 7a0dcfc..72e4e2d 100644 (file)
@@ -1,5 +1,10 @@
 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
 
+       * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
+       when stepping out of main().
+
+2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
+
        * gdb.base/default.exp: Check for win32 specific message when calling
        "run" without executable.
 
index f7e954f..f89e142 100644 (file)
@@ -171,6 +171,10 @@ gdb_expect {
                # This is what happens on sparc64-elf ultra.
                pass "step out of main"
            }
+           -re ".*in.*dll_crt0_1.*$gdb_prompt $" {
+               # This is what happens on Cygwin.
+               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