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


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.


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