[PATCH 8/9] Add new search_symbols_multiple API

Tom Tromey tom@tromey.com
Sat Aug 11 20:49:00 GMT 2018


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

Keith> This patch adds a new symbol searching API based on linespec.c's parser
Keith> implementation.  This allows users to find "all* matching symbols instead
Keith> of the first found match (a la lookup_symbol).

Keith> gdb/ChangeLog:

Keith> 	* linespec.c (collect_info::add_symbol): Make virtual.
Keith> 	(struct symbol_searcher_collect_info): New struct.
Keith> 	(symbol_searcher::find_all_symbols): New method.
Keith> 	* symtab.h (class symbol_searcher): New class.

This is ok.
Thanks.

Tom



More information about the Gdb-patches mailing list