RE: [PATCH ] PowerPC: fix for gdb.reverse/finish-precsave.exp and gdb.reverse/finish-reverse.exp

Carl Love via Gdb-patches
2023-03-01T16:43:41Z

Tom:

On Wed, 2023-03-01 at 15:03 +0100, Tom de Vries wrote:
> On 2/20/23 21:24, Carl Love wrote:
> > # Step until the pattern REGEXP is found. Step at most
> > # MAX_STEPS times, but stop stepping once REGEXP is found.
> > -#
> > +# START matches current location
> > # If REGEXP is found then a single pass is emitted, otherwise,
> > after
> > # MAX_STEPS steps, a single fail is emitted.
> > #
> > # TEST_NAME is the name used in the pass/fail calls.
> >
> > -proc gdb_step_until { regexp {test_name ""} {max_steps 10} } {
> > +proc gdb_step_until { regexp {test_name ""} {current ""} \
> > + { max_steps 10 } } {
>
> I assume you meant CURRENT instead of START.

Yes, thanks for catching that. Fixed.

Carl