Use std::vector in lm_info_target
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 2 May 2017 17:30:08 +0000 (13:30 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Tue, 2 May 2017 17:30:08 +0000 (13:30 -0400)
commitf2f46dfcdafe6bd32152d80b5e832d2fab4e6900
tree53cad9122ead56ffa939a2769df2e77f3014c767
parenta0ff9e1ad221c11f58a9d8d12a84c21579132d85
Use std::vector in lm_info_target

Replace the two VEC fields with std::vector.

gdb/ChangeLog:

* solib-target.c: Include <vector>
(struct lm_info_target) <~lm_info_target>: Remove.
<segment_bases, section_bases>: Change type to
std::vector<CORE_ADDR>.
(library_list_start_segment, library_list_start_section,
library_list_end_library,
solib_target_relocate_section_addresses): Adjust.
gdb/ChangeLog
gdb/solib-target.c