diff options
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 3339bf7..0d3fa9b 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -1843,7 +1843,8 @@ demangle_for_lookup (const char *name, enum language lang, } else if (lang == language_go) { - char *demangled_name = go_demangle (name, 0); + char *demangled_name + = language_def (language_go)->demangle_symbol (name, 0); if (demangled_name != NULL) return storage.set_malloc_ptr (demangled_name); } |