* gdb.base/ending-run.exp: Check for Cygwin specific wrapper function

when stepping out of main().
This commit is contained in:
Corinna Vinschen 2003-03-20 14:10:17 +00:00
parent 182dbe8580
commit bf02868245
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View 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