This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 1/3] Split size in regset section iterators
Hi Alan,
Just a nit, otherwise it LGTM.
On 2018-08-10 12:08 PM, Alan Hayward wrote:
> diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
> index 447394381e..f8e03461ae 100755
> --- a/gdb/gdbarch.sh
> +++ b/gdb/gdbarch.sh
> @@ -1316,13 +1316,15 @@ typedef int (iterate_over_objfiles_in_search_order_cb_ftype)
>
> /* Callback type for regset section iterators. The callback usually
> invokes the REGSET's supply or collect method, to which it must
> - pass a buffer with at least the given SIZE. SECT_NAME is a BFD
> - section name, and HUMAN_NAME is used for diagnostic messages.
> - CB_DATA should have been passed unchanged through the iterator. */
> + pass a buffer - for collects this buffer will need to created using
Missing a word?
Simon