diff options
Diffstat (limited to 'gdb/m2-lang.c')
-rw-r--r-- | gdb/m2-lang.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c index 3ba5026..9806caf 100644 --- a/gdb/m2-lang.c +++ b/gdb/m2-lang.c @@ -199,8 +199,6 @@ const struct exp_descriptor exp_descriptor_modula2 = extern const struct language_data m2_language_data = { - "modula-2", - "Modula-2", language_m2, range_check_on, case_sensitive_on, @@ -225,6 +223,16 @@ public: { /* Nothing. */ } /* See language.h. */ + + const char *name () const override + { return "modula-2"; } + + /* See language.h. */ + + const char *natural_name () const override + { return "Modula-2"; } + + /* See language.h. */ void language_arch_info (struct gdbarch *gdbarch, struct language_arch_info *lai) const override { |