aboutsummaryrefslogtreecommitdiff
path: root/gdb/rust-lang.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/rust-lang.h')
-rw-r--r--gdb/rust-lang.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/rust-lang.h b/gdb/rust-lang.h
index f4c7b7f..a1d1026 100644
--- a/gdb/rust-lang.h
+++ b/gdb/rust-lang.h
@@ -107,6 +107,13 @@ public:
/* See language.h. */
+ bool can_print_type_offsets () const override
+ {
+ return true;
+ }
+
+ /* 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;