From 618daa933cdce21424d3759ea95a4e2f5c69a1c2 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 10 Jan 2018 20:38:08 +0000 Subject: language_get_symbol_name_matcher -> get_symbol_name_matcher Rename language_get_symbol_name_matcher -> get_symbol_name_matcher, since the function is no longer a straight "language method". gdb/ChangeLog: 2018-01-10 Pedro Alves * language.h (language_get_symbol_name_matcher): Rename ... (get_symbol_name_matcher): ... this. * language.c (language_get_symbol_name_matcher): Ditto. * dictionary.c, linespec.c, minsyms.c, psymtab.c, symtab.c: All callers adjusted. --- gdb/linespec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/linespec.c') diff --git a/gdb/linespec.c b/gdb/linespec.c index 73fce0c..85f4127 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -1226,7 +1226,7 @@ find_methods (struct type *t, enum language t_lang, const char *name, int method_counter; lookup_name_info lookup_name (name, symbol_name_match_type::FULL); symbol_name_matcher_ftype *symbol_name_compare - = language_get_symbol_name_matcher (language_def (t_lang), lookup_name); + = get_symbol_name_matcher (language_def (t_lang), lookup_name); t = check_typedef (t); -- cgit v1.1