[PATCH] gdb: use gdb::function_view for gdbarch_iterate_over_objfiles_in_search_order callback
Simon Marchi
simon.marchi@polymtl.ca
Thu May 5 19:27:52 GMT 2022
On 2022-05-05 15:15, Tom Tromey wrote:
>>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:
>
> Simon> A rather straightforward patch to change an instance of callback +
> Simon> void pointer to gdb::function_view, allowing pasing lambdas that
> Simon> capture, and eliminating the need for the untyped pointer.
>
> Looks good to me. Thank you for doing this.
>
> Tom
Pushed, thanks.
Simon
More information about the Gdb-patches
mailing list