This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] testsuite fix for Mips ending-run.exp


"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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]