diff options
author | Tom Tromey <tom@tromey.com> | 2018-10-14 12:18:21 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-10-26 17:15:10 -0600 |
commit | 4c39bc03545798694b4ed2a5cd5caedd7ce3cc50 (patch) | |
tree | f502beb9236084c350d51ac0f34b76c48339ce7a /gdb/symtab.h | |
parent | fd2b4de5e63ad5994baf9c57b5d0c49d1f1dd4e4 (diff) | |
download | gdb-4c39bc03545798694b4ed2a5cd5caedd7ce3cc50.zip gdb-4c39bc03545798694b4ed2a5cd5caedd7ce3cc50.tar.gz gdb-4c39bc03545798694b4ed2a5cd5caedd7ce3cc50.tar.bz2 |
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.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 399666b..b91ec12 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -1357,9 +1357,6 @@ struct symtab #define SYMTAB_DIRNAME(symtab) \ COMPUNIT_DIRNAME (SYMTAB_COMPUNIT (symtab)) -typedef struct symtab *symtab_ptr; -DEF_VEC_P (symtab_ptr); - /* Compunit symtabs contain the actual "symbol table", aka blockvector, as well as the list of all source files (what gdb has historically associated with the term "symtab"). @@ -1501,9 +1498,6 @@ extern struct symtab * extern enum language compunit_language (const struct compunit_symtab *cust); -typedef struct compunit_symtab *compunit_symtab_ptr; -DEF_VEC_P (compunit_symtab_ptr); - /* The virtual function table is now an array of structures which have the |