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

Tom de Vries via Gdb-patches
2023-03-01T14:03:41Z

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.

Thanks,
- Tom