Remove cleanup from build_type_psymtabs_1
authorTom Tromey <tom@tromey.com>
Sun, 25 Feb 2018 18:11:59 +0000 (11:11 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 12 Mar 2018 03:06:41 +0000 (21:06 -0600)
commit484cf504af0e9403e3437a5d2c5fb361c73daa90
tree992472243526babe68d8b7eb862db071755e88aa
parentc20bca94fa17fa59bacd7702acbbbe87a64c0193
Remove cleanup from build_type_psymtabs_1

This removes a cleanup from build_type_psymtabs_1, by using
std::vector rather than manual memory management.

gdb/ChangeLog
2018-03-11  Tom Tromey  <tom@tromey.com>

* dwarf2read.c (sort_tu_by_abbrev_offset): Change to be suitable
for use by std::sort.
(build_type_psymtabs_1): Use std::vector.
gdb/ChangeLog
gdb/dwarf2read.c
This page took 0.025533 seconds and 4 git commands to generate.