diff options
Diffstat (limited to 'gdb/f-lang.c')
-rw-r--r-- | gdb/f-lang.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gdb/f-lang.c b/gdb/f-lang.c index 804b282..1b0fec6 100644 --- a/gdb/f-lang.c +++ b/gdb/f-lang.c @@ -608,7 +608,6 @@ extern const struct language_data f_language_data = f_printchar, /* Print character constant */ f_printstr, /* function to print string constant */ f_emit_char, /* Function to print a single character */ - f_print_type, /* Print a type using appropriate syntax */ f_print_typedef, /* Print a typedef using appropriate syntax */ f_value_print_innner, /* la_value_print_inner */ c_value_print, /* FIXME */ @@ -690,6 +689,15 @@ public: { return cp_search_name_hash (name); } + + /* 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 + { + f_print_type (type, varstring, stream, show, level, flags); + } }; /* Single instance of the Fortran language class. */ |