This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] testsuite fix for Mips ending-run.exp
- From: Michael Snyder <msnyder at redhat dot com>
- To: "Martin M. Hunt" <hunt at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 27 Mar 2002 13:19:14 -0800
- Subject: Re: [RFA] testsuite fix for Mips ending-run.exp
- Organization: Red Hat, Inc.
- References: <200203271956.g2RJuwY14691@localhost.localdomain>
"Martin M. Hunt" wrote:
>
> All my Mips testsuites fail on this, and it seems OK to me.
I think it's reasonable.
>
> 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 $" {
> + # This is what happens on many Mips targets
> + pass "step out of main"
> + }
> -re ".*in ..change.mode ().*$gdb_prompt $" {
> # This is what happens on ARM in thumb mode -fn 2000-02-01
> pass "step out of main on ARM thumb"