[PATCH 1/1] gdb/testsuite: fix "continue outside of loop" TCL errors

Simon Marchi simark@simark.ca
Mon May 16 12:47:22 GMT 2022



On 2022-05-16 07:28, Bruno Larsen via Gdb-patches wrote:
> Many test cases had a few lines in the beginning that look like:
> 
> if { condition } {
>   continue
> }
> 
> Where conditions varied, but were mostly in the form of ![runto_main] or
> [skip_*_tests], making it quite clear that this code block was supposed
> to finish the test if it entered the code block. This generates TCL
> errors, as most of these tests are not inside loops.  All cases on which
> this was an obvious mistake are changed in this patch.

Thanks, LGTM.

Simon


More information about the Gdb-patches mailing list