diff options
Diffstat (limited to 'gdb/go-lang.c')
-rw-r--r-- | gdb/go-lang.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/go-lang.c b/gdb/go-lang.c index 1ec5347..6bd87aa 100644 --- a/gdb/go-lang.c +++ b/gdb/go-lang.c @@ -540,7 +540,6 @@ extern const struct language_data go_language_data = NULL, /* name_of_this */ false, /* la_store_sym_names_in_linkage_form_p */ basic_lookup_symbol_nonlocal, - go_demangle, /* Language specific symbol demangler. */ NULL, /* Language specific class_name_from_physname. */ go_op_print_tab, /* Expression operators for printing. */ @@ -628,6 +627,13 @@ public: /* See language.h. */ + char *demangle (const char *mangled, int options) const override + { + return go_demangle (mangled, options); + } + + /* See language.h. */ + void print_type (struct type *type, const char *varstring, struct ui_file *stream, int show, int level, const struct type_print_options *flags) const override |