[RFA] testsuite fix for Mips ending-run.exp
Martin M. Hunt
hunt@redhat.com
Wed Mar 27 13:43:00 GMT 2002
On Wednesday 27 March 2002 12:43 pm, Andreas Schwab wrote:
> "Martin M. Hunt" <hunt@redhat.com> writes:
> |> All my Mips testsuites fail on this, and it seems OK to me.
> |>
> |> 2002-03-27 Martin M. Hunt <hunt@redhat.com>
> |>
> |> * gdb.base/ending-run.exp: Most Mips targets seem
> |> to step out of main() into init().
> |>
> |> Index: testsuite/gdb.base/ending-run.exp
> |> ===================================================================
> |> RCS file: /cvs/src/src/gdb/testsuite/gdb.base/ending-run.exp,v
> |> retrieving revision 1.13
> |> diff -u -p -r1.13 ending-run.exp
> |> --- ending-run.exp 2002/02/10 18:58:26 1.13
> |> +++ ending-run.exp 2002/03/27 19:55:06
> |> @@ -178,6 +178,10 @@ gdb_expect {
> |> # This is what happens on Sanyo XStormy16
> |> pass "step out of main"
> |> }
> |> + -re ".init ().*$gdb_prompt $" {
>
> ^
> Shouldn't this be ".*"?
Yes, although it tested fine without it because the line always starts with
"init ()". Anyway I'll put the "*" in. Thanks.
--
Martin Hunt
GDB Engineer
Red Hat, Inc.
More information about the Gdb-patches
mailing list