aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-06-07 22:11:47 -0600
committerTom Tromey <tom@tromey.com>2018-06-09 16:05:48 -0600
commitc5d0225d250b4c6537a0d22f0a89975834bfd294 (patch)
tree8b618e914f26a82ba2a829704f015331f84e321c /gdb/dwarf2read.h
parentd68033ea86780183c2a2a28077fe495acde5887c (diff)
downloadgdb-c5d0225d250b4c6537a0d22f0a89975834bfd294.zip
gdb-c5d0225d250b4c6537a0d22f0a89975834bfd294.tar.gz
gdb-c5d0225d250b4c6537a0d22f0a89975834bfd294.tar.bz2
Remove a VEC from dwarf2read.c
This removes a VEC from dwarf2read.c, replacing it with a std::vector. Tested by the buildbot. gdb/ChangeLog 2018-06-09 Tom Tromey <tom@tromey.com> * dwarf2read.c (process_cu_includes): Update. (process_full_comp_unit): Update. * dwarf2read.h (struct dwarf2_per_objfile) <just_read_cus>: Now a std::vector.
Diffstat (limited to 'gdb/dwarf2read.h')
-rw-r--r--gdb/dwarf2read.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.h b/gdb/dwarf2read.h
index fbac717..74335d7 100644
--- a/gdb/dwarf2read.h
+++ b/gdb/dwarf2read.h
@@ -233,7 +233,7 @@ public:
htab_t die_type_hash {};
/* The CUs we recently read. */
- VEC (dwarf2_per_cu_ptr) *just_read_cus = NULL;
+ std::vector<dwarf2_per_cu_data *> just_read_cus;
/* Table containing line_header indexed by offset and offset_in_dwz. */
htab_t line_header_hash {};