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 8/9] Add new search_symbols_multiple API


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


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