diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-03-20 14:10:17 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-03-20 14:10:17 +0000 |
commit | 5cfa57592aa4058f97269d578f6756eee1c486d6 (patch) | |
tree | 58944a4ef216d637a8bca06457798e33041dbb56 | |
parent | 5e240e1f9676c1977686126b16eab63a299e2a62 (diff) | |
download | gdb-5cfa57592aa4058f97269d578f6756eee1c486d6.tar.gz |
* gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
when stepping out of main().
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/ending-run.exp | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7a0dcfca29f..72e4e2dbf67 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp index f7e954f4aad..f89e142dd92 100644 --- a/gdb/testsuite/gdb.base/ending-run.exp +++ b/gdb/testsuite/gdb.base/ending-run.exp @@ -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 |