diff options
Diffstat (limited to 'gdb/rust-lang.c')
-rw-r--r-- | gdb/rust-lang.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gdb/rust-lang.c b/gdb/rust-lang.c index aec430e..971d60b 100644 --- a/gdb/rust-lang.c +++ b/gdb/rust-lang.c @@ -1906,8 +1906,6 @@ static const char * const rust_extensions[] = extern const struct language_data rust_language_data = { - "rust", - "Rust", language_rust, range_check_on, case_sensitive_on, @@ -1932,6 +1930,16 @@ public: { /* Nothing. */ } /* See language.h. */ + + const char *name () const override + { return "rust"; } + + /* See language.h. */ + + const char *natural_name () const override + { return "Rust"; } + + /* See language.h. */ void language_arch_info (struct gdbarch *gdbarch, struct language_arch_info *lai) const override { |