diff options
author | Keith Seitz <keiths@redhat.com> | 2018-08-29 15:12:23 -0700 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2018-08-29 15:12:23 -0700 |
commit | c2a031c5822b4256f116254def47b9887c230e68 (patch) | |
tree | 6a3bcb9d9875bb0028f80720c9ec06c5b2c274a0 /gdb/c-lang.c | |
parent | 3553eadc8cb5f087ea0fb72ebdd1c52264304e0b (diff) | |
download | binutils-c2a031c5822b4256f116254def47b9887c230e68.zip binutils-c2a031c5822b4256f116254def47b9887c230e68.tar.gz binutils-c2a031c5822b4256f116254def47b9887c230e68.tar.bz2 |
Change `minimal_symbols' to std::vector in linespec.c structures
This patch converts linespec.c's linespec.label_symbols member from a
VEC to a std::vector.
gdb/ChangeLog:
* linespec.c (struct linespec) <minimal_symbols>: Change type to
std::vector. Update all users.
(convert_linespec_to_sals): Use std::sort to sort minimal symbols.
(struct collect_info) <minimal_symbols>: Likewise.
(compare_msymbols): Return bool. Change parameters to const
bound_minimal_symbol references.
(find_method, find_function_symbols, find_linespec_symbols): Change
`minsyms' parameter to std::vector. Update all callers.
Diffstat (limited to 'gdb/c-lang.c')
0 files changed, 0 insertions, 0 deletions