arm-tdep: replace arm_mapping_symbol VEC with std::vector
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 25 Jun 2019 18:22:23 +0000 (14:22 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 25 Jun 2019 18:22:23 +0000 (14:22 -0400)
commit54cc7474d4851d0e76df5252478a5ebd76b61508
treea315627649e92cd9faf11ed049faef6a4290522f
parentb65b566cdcb577edb57616c5b49a2f245b56325c
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.
gdb/ChangeLog
gdb/arm-tdep.c
This page took 0.025666 seconds and 4 git commands to generate.