diff options
Diffstat (limited to 'gdb/go-lang.c')
-rw-r--r-- | gdb/go-lang.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/go-lang.c b/gdb/go-lang.c index eacc4de..2b9be93 100644 --- a/gdb/go-lang.c +++ b/gdb/go-lang.c @@ -508,7 +508,6 @@ enum go_primitive_types { extern const struct language_data go_language_data = { - go_op_print_tab, /* Expression operators for printing. */ }; /* Class representing the Go language. */ @@ -641,6 +640,11 @@ public: const struct exp_descriptor *expression_ops () const override { return &exp_descriptor_c; } + + /* See language.h. */ + + const struct op_print *opcode_print_table () const override + { return go_op_print_tab; } }; /* Single instance of the Go language class. */ |