diff options
Diffstat (limited to 'gdb/d-lang.c')
-rw-r--r-- | gdb/d-lang.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gdb/d-lang.c b/gdb/d-lang.c index 23b9464..815b597 100644 --- a/gdb/d-lang.c +++ b/gdb/d-lang.c @@ -147,7 +147,6 @@ extern const struct language_data d_language_data = c_printchar, /* Print a character constant. */ c_printstr, /* Function to print string constant. */ c_emit_char, /* Print a single char. */ - c_print_type, /* Print a type using appropriate syntax. */ c_print_typedef, /* Print a typedef using appropriate syntax. */ d_value_print_inner, /* la_value_print_inner */ @@ -252,6 +251,15 @@ public: *demangled = d_demangle (mangled, 0); return *demangled != NULL; } + + /* 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 + { + c_print_type (type, varstring, stream, show, level, flags); + } }; /* Single instance of the D language class. */ |