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 | bf02868245009d404500d2a297ffc222725d1389 (patch) | |
tree | 1a17c53b09c700024b2e073d044d1128ccac1174 /gdb/testsuite | |
parent | 182dbe8580a6d0b1b444bf40fcdf33b2fb8645fa (diff) | |
download | gdb-bf02868245009d404500d2a297ffc222725d1389.zip gdb-bf02868245009d404500d2a297ffc222725d1389.tar.gz gdb-bf02868245009d404500d2a297ffc222725d1389.tar.bz2 |
* gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
when stepping out of main().
Diffstat (limited to 'gdb/testsuite')
-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 7a0dcfc..72e4e2d 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 f7e954f..f89e142 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 |