diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2019-06-25 14:22:23 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2019-06-25 14:22:23 -0400 |
commit | 54cc7474d4851d0e76df5252478a5ebd76b61508 (patch) | |
tree | a315627649e92cd9faf11ed049faef6a4290522f /bfd | |
parent | b65b566cdcb577edb57616c5b49a2f245b56325c (diff) | |
download | gdb-54cc7474d4851d0e76df5252478a5ebd76b61508.zip gdb-54cc7474d4851d0e76df5252478a5ebd76b61508.tar.gz gdb-54cc7474d4851d0e76df5252478a5ebd76b61508.tar.bz2 |
arm-tdep: replace arm_mapping_symbol VEC with std::vector
This patch replaces VEC (arm_mapping_symbol) with an std::vector. No
functional changes intended.
gdb/ChangeLog:
* arm-tdep.c (struct arm_mapping_symbol) (operator <): New.
(arm_mapping_symbol_s): Remove.
(DEF_VEC_O(arm_mapping_symbol_s)): Remove.
(arm_mapping_symbol_vec): New typedef.
(struct arm_per_objfile): Add constructor.
<section_maps>: Change type to
std::unique_ptr<arm_mapping_symbol_vec[]>.
(arm_compare_mapping_symbols): Remove.
(arm_find_mapping_symbol): Adjust to section_maps type change.
(arm_objfile_data_free): Call delete on arm_per_objfile.
(arm_record_special_symbol): Adjust to section_maps type change.
Allocate arm_per_objfile with new.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions