Use std::vector in abbrev_table_read_table
authorTom Tromey <tromey@adacore.com>
Thu, 31 Oct 2019 16:37:35 +0000 (10:37 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 8 Jan 2020 18:17:18 +0000 (11:17 -0700)
commit6dfa2fc20773615c3a08c3565974dcfdfa36f052
tree58d43ac2bcacec28c796b03303c51b7862dda456
parent421d1616230a78449dc2f5abb60f03d38b96c3cf
Use std::vector in abbrev_table_read_table

This removes some manual memory management from
abbrev_table_read_table, replacing it with a std::vector.

gdb/ChangeLog
2020-01-08  Tom Tromey  <tromey@adacore.com>

* dwarf2read.c (abbrev_table_read_table): Use std::vector.
(ATTR_ALLOC_CHUNK): Remove.

Change-Id: I0b0e70ac2281d89a78f4d6a642700c9f0506871d
gdb/ChangeLog
gdb/dwarf2read.c