aboutsummaryrefslogtreecommitdiff
path: root/gdb/dictionary.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2018-01-10 20:38:08 +0000
committerPedro Alves <palves@redhat.com>2018-01-10 23:12:48 +0000
commit618daa933cdce21424d3759ea95a4e2f5c69a1c2 (patch)
tree5f5637c2c6c42eeea88703775150acb0f92319b0 /gdb/dictionary.c
parentc63d3e8d12f0b08cda95f89aa13274defed215f0 (diff)
downloadgdb-618daa933cdce21424d3759ea95a4e2f5c69a1c2.zip
gdb-618daa933cdce21424d3759ea95a4e2f5c69a1c2.tar.gz
gdb-618daa933cdce21424d3759ea95a4e2f5c69a1c2.tar.bz2
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 <palves@redhat.com> * 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.
Diffstat (limited to 'gdb/dictionary.c')
-rw-r--r--gdb/dictionary.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/dictionary.c b/gdb/dictionary.c
index a6049f7..da8b7da 100644
--- a/gdb/dictionary.c
+++ b/gdb/dictionary.c
@@ -631,7 +631,7 @@ iter_match_first_hashed (const struct dictionary *dict,
unsigned int hash_index = (name.search_name_hash (lang->la_language)
% DICT_HASHED_NBUCKETS (dict));
symbol_name_matcher_ftype *matches_name
- = language_get_symbol_name_matcher (lang, name);
+ = get_symbol_name_matcher (lang, name);
struct symbol *sym;
DICT_ITERATOR_DICT (iterator) = dict;
@@ -659,7 +659,7 @@ iter_match_next_hashed (const lookup_name_info &name,
{
const language_defn *lang = DICT_LANGUAGE (DICT_ITERATOR_DICT (iterator));
symbol_name_matcher_ftype *matches_name
- = language_get_symbol_name_matcher (lang, name);
+ = get_symbol_name_matcher (lang, name);
struct symbol *next;
for (next = DICT_ITERATOR_CURRENT (iterator)->hash_next;
@@ -875,7 +875,7 @@ iter_match_next_linear (const lookup_name_info &name,
const struct dictionary *dict = DICT_ITERATOR_DICT (iterator);
const language_defn *lang = DICT_LANGUAGE (dict);
symbol_name_matcher_ftype *matches_name
- = language_get_symbol_name_matcher (lang, name);
+ = get_symbol_name_matcher (lang, name);
int i, nsyms = DICT_LINEAR_NSYMS (dict);
struct symbol *sym, *retval = NULL;