[PATCH v3 1/3] MI: mi_runto -pending
Tom Tromey
tom@tromey.com
Fri Jul 15 17:34:21 GMT 2022
>>>>> "Lancelot" == Lancelot SIX via Gdb-patches <gdb-patches@sourceware.org> writes:
Lancelot> -proc mi_runto {func} {
Lancelot> - return [mi_runto_helper $func "run"]
Lancelot> +proc mi_runto {func args} {
Lancelot> + return [mi_runto_helper $func "run" {*}$args]
Lancelot> }
This looks strange to me. Is it some new Tcl syntax? Anyway, "args" is
special in Tcl and means that the remaining arguments will be passed as
a list. So unless Tcl added some apply-like syntactic feature I suspect
this isn't really what is intended.
Tom
More information about the Gdb-patches
mailing list