Change `label_symbols' to std::vector in linespec.c structures
authorKeith Seitz <keiths@redhat.com>
Wed, 29 Aug 2018 22:12:23 +0000 (15:12 -0700)
committerKeith Seitz <keiths@redhat.com>
Wed, 29 Aug 2018 22:12:23 +0000 (15:12 -0700)
commit3553eadc8cb5f087ea0fb72ebdd1c52264304e0b
tree595174375c7a091684e8a604a59a2dc901db0cf8
parent7243d0118af6f72e3e72db1eb66941fec4530963
Change `label_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) <label_symbols>: Change type to
std::vector.  Update all users.
(find_label_symbols_in_block): Change `result' parameter to
std::vector.  Update all callers.
(find_label_symbols): Return std::vector.  Update all callers.
gdb/ChangeLog
gdb/linespec.c