aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 0c24f2b..1e58770 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -1795,6 +1795,14 @@ demangle_for_lookup (const char *name, enum language lang,
return name;
}
+/* See symtab.h. */
+
+unsigned int
+search_name_hash (enum language language, const char *search_name)
+{
+ return language_def (language)->la_search_name_hash (search_name);
+}
+
/* See symtab.h.
This function (or rather its subordinates) have a bunch of loops and