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: [RFA] remove duplicates in search_symbols


On 08/01/2013 04:49 PM, Doug Evans wrote:
struct symbol_search { ... };
extern void search_symbols (char *, enum search_domain, int, char **,
			    struct symbol_search **);
extern void free_search_symbols (struct symbol_search *);
extern struct cleanup *make_cleanup_free_search_symbols (struct symbol_search
							 **);

I'm semi-ambivalent about keeping them as an exported part of the API
so I left making them static for another pass.

FWIW, Insight uses struct symbol_search, search_symbols, and make_cleanup_free_search_symbols. It would be nice if some sort of public API for this was maintained.

Keith


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