[PATCH] Increase timeout in gdb.mi/list-thread-groups-available.exp

Tom de Vries tdevries@suse.de
Mon Aug 5 13:53:00 GMT 2019


On 02-08-19 15:43, Tom Tromey wrote:
> Tom> +proc with_timeout_factor { factor body {body_uplevel 1}} {
> 
> I think body_uplevel shouldn't be needed.
> 
> Tom> +    return [with_timeout_factor $factor $body 2]
> 
> ... since this can just do
> 
>     return [uplevel [list with_timeout_factor $factor $body]]

Ack, I've used that in the committed version (
https://sourceware.org/ml/gdb-patches/2019-08/msg00107.html ).

Thanks,
- Tom



More information about the Gdb-patches mailing list