This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/9] Change `function_symbols' to std::vector


>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

Keith> This patch changes the `function_symbols'  members in linespec.c structures
Keith> from a VEC to a std::vector.

Keith> gdb/ChangeLog:

Keith> 	* linespec.c (struct linespec) <function_symbols>: Change type to
Keith> 	std::vector.  Update all users.
Keith> 	(struct collect_info) <function_symbols>: Likewise.
Keith> 	(find_method, find_function_symbols, find_linespec_symbols)
Keith> 	(find_label_symbols_in_block): Change `symbols' parameter to
Keith> 	std::vector.  Update all callers.
Keith> 	(find_label_symbols): Likewise for `function_symbols' and
Keith> 	`label_funcs_ret'.

Thank you for the patch.
This one looks ok to me.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]