diff options
Diffstat (limited to 'gdb/objc-lang.c')
-rw-r--r-- | gdb/objc-lang.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c index 0566ce8..1e3d1fd 100644 --- a/gdb/objc-lang.c +++ b/gdb/objc-lang.c @@ -380,7 +380,6 @@ extern const struct language_data objc_language_data = "self", /* name_of_this */ false, /* la_store_sym_names_in_linkage_form_p */ basic_lookup_symbol_nonlocal, /* lookup_symbol_nonlocal */ - objc_demangle, /* Language specific symbol demangler */ NULL, /* Language specific class_name_from_physname */ objc_op_print_tab, /* Expression operators for printing */ @@ -422,6 +421,13 @@ public: /* See language.h. */ + char *demangle (const char *mangled, int options) const override + { + return objc_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 |