Re: [PATCH]: (obvious) testsuite/gdb.base/ending-run.exp

Fernando Nasser
2001-10-29T10:22:00Z

Corinna Vinschen wrote:
>
> Hi,
>
> I just applied the following patch according to the "obvious fix rule"
> to gdb.base/ending-run.exp. It makes the output of the pass branches
> in the `step to end of run' case equal and adds a branch for the
> Stormy16 target.
>
> Corinna
>

Thanks.

> 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
>
> * gdb.base/ending-run.exp: Create identical output when passing
> `step to end of run' case. Add regular expression branch satisfying
> Stormy16 target.
>
> Index: testsuite/gdb.base/ending-run.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.base/ending-run.exp,v
> retrieving revision 1.8
> diff -u -p -r1.8 ending-run.exp
> --- ending-run.exp 2001/09/18 17:49:06 1.8
> +++ ending-run.exp 2001/10/29 18:12:41
> @@ -219,14 +219,18 @@ if {![target_info exists 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"

--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9