Browse Source

* gdb.base/ending-run.exp: Add sh specific case.

cagney_bigcore-20040122-branch
Corinna Vinschen 23 years ago
parent
commit
aec24853b5
  1. 4
      gdb/testsuite/ChangeLog
  2. 5
      gdb/testsuite/gdb.base/ending-run.exp

4
gdb/testsuite/ChangeLog

@ -1,3 +1,7 @@
2003-10-07 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/ending-run.exp: Add sh specific case.
2003-10-06 Andrew Cagney <cagney@redhat.com> 2003-10-06 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp: Delete obsolete clear_xfail. * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.

5
gdb/testsuite/gdb.base/ending-run.exp

@ -202,6 +202,11 @@ gdb_expect {
-re ".*in __wrap__?main ().*$gdb_prompt $" { -re ".*in __wrap__?main ().*$gdb_prompt $" {
pass "step out of main (status wrapper)" pass "step out of main (status wrapper)"
} }
-re "__setup_argv_for_main (.*).*$gdb_prompt $" {
# On sh, another wrapper function (start_l) exists, so
# another `next' is necessary.
gdb_test "next" ".*in start_l ().*" "step out of main (on sh)"
}
-re ".*$gdb_prompt $" { fail "step out of main (at end 2)" } -re ".*$gdb_prompt $" { fail "step out of main (at end 2)" }
timeout { timeout {
fail "step out of main (hang or timeout on step at end 2)" fail "step out of main (hang or timeout on step at end 2)"

Loading…
Cancel
Save