diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2018-04-09 15:40:45 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-04-09 15:40:45 -0400 |
commit | b24531ed171b5751a3a64c461728c9ad62092c8a (patch) | |
tree | db3fdd6625a99c6e20202c6493573a7914f93c2d /gdb/common/array-view.h | |
parent | c252925ccc8c3c2ce2a65d12a50acfee53914ce3 (diff) | |
download | binutils-b24531ed171b5751a3a64c461728c9ad62092c8a.zip binutils-b24531ed171b5751a3a64c461728c9ad62092c8a.tar.gz binutils-b24531ed171b5751a3a64c461728c9ad62092c8a.tar.bz2 |
Use an std::vector for inline_states
This patch replaces VEC(inline_state) with std::vector<inline_state> and
adjusts the code that uses it.
gdb/ChangeLog:
* common/gdb_vecs.h (unordered_remove): Add overload that takes
an iterator.
* inline-frame.c: Include <algorithm>.
(struct inline_state): Add constructor.
(inline_state_s): Remove.
(DEF_VEC_O(inline_state_s)): Remove.
(inline_states): Change type to std::vector.
(find_inline_frame_state): Adjust to std::vector.
(allocate_inline_frame_state): Remove.
(clear_inline_frame_state): Adjust to std::vector.
(skip_inline_frames): Adjust to std::vector.
Diffstat (limited to 'gdb/common/array-view.h')
0 files changed, 0 insertions, 0 deletions