aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.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/linespec.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/linespec.c')
-rw-r--r--gdb/linespec.c2
1 files changed, 1 insertions, 1 deletions
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);