Remove DEF_VECs from symtab.h
authorTom Tromey <tom@tromey.com>
Sun, 14 Oct 2018 18:18:21 +0000 (12:18 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 26 Oct 2018 23:15:10 +0000 (17:15 -0600)
commit4c39bc03545798694b4ed2a5cd5caedd7ce3cc50
treef502beb9236084c350d51ac0f34b76c48339ce7a
parentfd2b4de5e63ad5994baf9c57b5d0c49d1f1dd4e4
Remove DEF_VECs from symtab.h

This removes a couple of DEF_VECs from symtab.h, replacing them with
std::vector at the points of use.

gdb/ChangeLog
2018-10-26  Tom Tromey  <tom@tromey.com>

* dwarf2read.c (recursively_compute_inclusions): Use std::vector.
(compute_compunit_symtab_includes): Update.
* symtab.h: (symtab_ptr): Remove typedef.  Don't define a VEC.
(compunit_symtab_ptr): Likewise.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/symtab.h