This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] clean up resize_section_table
- From: Pedro Alves <palves at redhat dot com>
- To: Doug Evans <dje at google dot com>, gdb-patches at sourceware dot org
- Date: Tue, 03 Jun 2014 17:59:12 +0100
- Subject: Re: [PATCH] clean up resize_section_table
- Authentication-results: sourceware.org; auth=none
- References: <yjt2k38yq2tj dot fsf at ruffy dot mtv dot corp dot google dot com>
On 06/03/2014 01:00 AM, Doug Evans wrote:
> Hi.
>
> This patch is a simple cleanup to resize_section_table.
> Some callers do a two-step dance to clear the table,
> this replaces that with a new function that does what it says.
>
> Plus the argument "num_added" was a bit confusing so I renamed it.
>
> Regression tested on amd64-linux.
Looks good to me.
Thanks,
--
Pedro Alves