* gdb.base/ending-run.exp: Create identical output when passing

`step to end of run' case.  Add regular expression branch satisfying
	Stormy16 target.
This commit is contained in:
Corinna Vinschen
2001-10-29 18:16:46 +00:00
parent 92b8ae9161
commit 36a222619e
2 changed files with 13 additions and 3 deletions

View File

@@ -219,15 +219,19 @@ if {![target_info exists use_cygmon] || ![target_info use_cygmon]} {
# If we actually have debug info for the start function,
# then we won't get the "Single-stepping until function
# exit" message.
pass "step to end of run 1"
pass "step to end of run"
}
-re ".*Single.*Program exited.*$gdb_prompt $" {
pass "step to end of run 1"
pass "step to end of run"
}
-re ".*Single.*in exit.*from.*dld.sl.*$gdb_prompt $" {
pass "step to end of run 2"
pass "step to end of run"
gdb_test "c" ".*" "continue after exit"
}
-re ".*Single.*_int_reset.*$gdb_prompt $" {
pass "step to end of run"
setup_xfail "stormy16-*-*"
}
-re ".*$gdb_prompt $" {
fail "step to end of run"
}