This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/4] Use std::vector in abbrev_table_read_table
On 2020-01-07 5:07 p.m., Tom Tromey wrote:
> This removes some manual memory management from
> abbrev_table_read_table, replacing it with a std::vector.
>
> gdb/ChangeLog
> 2020-01-07 Tom Tromey <tromey@adacore.com>
>
> * dwarf2read.c (abbrev_table_read_table): Use std::vector.
>
> Change-Id: I0b0e70ac2281d89a78f4d6a642700c9f0506871d
You can remove the ATTR_ALLOC_CHUNK definition. Otherwise, this LGTM.
Simon