aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m2-lang.c')
-rw-r--r--gdb/m2-lang.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c
index b41d0b4..1f9c8a8 100644
--- a/gdb/m2-lang.c
+++ b/gdb/m2-lang.c
@@ -199,7 +199,6 @@ const struct exp_descriptor exp_descriptor_modula2 =
extern const struct language_data m2_language_data =
{
- m2_op_print_tab, /* expression operators for printing */
};
/* Class representing the M2 language. */
@@ -448,6 +447,11 @@ public:
const struct exp_descriptor *expression_ops () const override
{ return &exp_descriptor_modula2; }
+
+ /* See language.h. */
+
+ const struct op_print *opcode_print_table () const override
+ { return m2_op_print_tab; }
};
/* Single instance of the M2 language. */