* gdb.base/ending-run.exp: Add handling of "step to end of run" for

embedded targets which never actually exit.
This commit is contained in:
Corinna Vinschen
2002-09-18 17:20:54 +00:00
parent 31e45dee03
commit afb5c968b6
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2002-09-18 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/ending-run.exp: Add handling of "step to end of run" for
embedded targets which never actually exit.
2002-09-18 Fernando Nasser <fnasser@redhat.com>
* gdb.base/ending-run.exp: Properly mark "continue after exit" and

View File

@@ -253,6 +253,9 @@ if {! [target_info exists use_gdb_stub]
pass "step to end of run (status wrapper)"
set program_exited_normally 1
}
-re "Single.*EXIT code 0\r\n.*$gdb_prompt $" {
pass "step to end of run (status wrapper)"
}
-re ".*Single.*Program exited.*$gdb_prompt $" {
pass "step to end of run"
set program_exited_normally 1