diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-10-07 16:02:16 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-10-07 16:02:16 +0000 |
commit | aec24853b5d0ec94dd440c674d0c869c24b53e0b (patch) | |
tree | 5f992d854b33aabecd2f1be5889e04863c288ea3 /gdb | |
parent | 29ca8dc5bbf7312b8f264e5ad5efee8db6a7d95a (diff) | |
download | gdb-aec24853b5d0ec94dd440c674d0c869c24b53e0b.zip gdb-aec24853b5d0ec94dd440c674d0c869c24b53e0b.tar.gz gdb-aec24853b5d0ec94dd440c674d0c869c24b53e0b.tar.bz2 |
* gdb.base/ending-run.exp: Add sh specific case.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/ending-run.exp | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6b7a217..b19d15a 100644 --- a/gdb/testsuite/ChangeLog +++ b/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> * gdb.base/watchpoint.exp: Delete obsolete clear_xfail. diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp index 3960f06..af32acd 100644 --- a/gdb/testsuite/gdb.base/ending-run.exp +++ b/gdb/testsuite/gdb.base/ending-run.exp @@ -202,6 +202,11 @@ gdb_expect { -re ".*in __wrap__?main ().*$gdb_prompt $" { 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)" } timeout { fail "step out of main (hang or timeout on step at end 2)" |