aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-lang.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-08 07:27:57 -0700
committerTom Tromey <tom@tromey.com>2021-03-08 07:28:40 -0700
commit5871f0a38dd0f2403765e60d7b00f511fcc4a6cc (patch)
tree86943a8771a5d2b1966e5152acd76047c5321f3a /gdb/m2-lang.h
parenta99be8c199c2cbfae137fb5a54151e781ecb7ec3 (diff)
downloadbinutils-5871f0a38dd0f2403765e60d7b00f511fcc4a6cc.zip
binutils-5871f0a38dd0f2403765e60d7b00f511fcc4a6cc.tar.gz
binutils-5871f0a38dd0f2403765e60d7b00f511fcc4a6cc.tar.bz2
Remove now-unused Modula-2 evaluator code
Now that the Modula-2 parser has switched to the new style, there is no need for the old Modula-2 evaluation code. gdb/ChangeLog 2021-03-08 Tom Tromey <tom@tromey.com> * m2-lang.h (class m2_language) <expresssion_ops, exp_descriptor_modula2>: Remove. * m2-lang.c (evaluate_subexp_modula2) (m2_language::exp_descriptor_modula2): Remove.
Diffstat (limited to 'gdb/m2-lang.h')
-rw-r--r--gdb/m2-lang.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/m2-lang.h b/gdb/m2-lang.h
index 650942b..2094142 100644
--- a/gdb/m2-lang.h
+++ b/gdb/m2-lang.h
@@ -150,19 +150,10 @@ public:
/* See language.h. */
- 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 op_print_tab; }
private:
- /* Table of expression handling functions for use by EXPRESSION_OPS
- member function. */
- static const struct exp_descriptor exp_descriptor_modula2;
-
/* Table of opcode data for use by OPCODE_PRINT_TABLE member function. */
static const struct op_print op_print_tab[];
};