Re: [PATCH 8/9] Add new search_symbols_multiple API

Tom Tromey
2018-08-11T20:49:26Z

>>>>> "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