aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.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/language.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/language.c')
-rw-r--r--gdb/language.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/language.c b/gdb/language.c
index c80237e..0d8604b 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -727,8 +727,8 @@ default_symbol_name_matcher (const char *symbol_search_name,
/* See language.h. */
symbol_name_matcher_ftype *
-language_get_symbol_name_matcher (const language_defn *lang,
- const lookup_name_info &lookup_name)
+get_symbol_name_matcher (const language_defn *lang,
+ const lookup_name_info &lookup_name)
{
/* If currently in Ada mode, and the lookup name is wrapped in
'<...>', hijack all symbol name comparisons using the Ada