aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2018-08-29 15:12:23 -0700
committerKeith Seitz <keiths@redhat.com>2018-08-29 15:12:23 -0700
commitc2a031c5822b4256f116254def47b9887c230e68 (patch)
tree6a3bcb9d9875bb0028f80720c9ec06c5b2c274a0 /gdb/c-lang.c
parent3553eadc8cb5f087ea0fb72ebdd1c52264304e0b (diff)
downloadbinutils-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