diff options
author | Tom Tromey <tom@tromey.com> | 2021-03-08 07:27:57 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-03-08 07:28:41 -0700 |
commit | f2a98603a807101722f12b8d7a1aca9651deb133 (patch) | |
tree | 0355abc24a75d4fc1920415690cebe7e48cc2712 /gdb/d-lang.c | |
parent | d3c54a1ce8b250acf83dda2653393f29b70d3390 (diff) | |
download | binutils-f2a98603a807101722f12b8d7a1aca9651deb133.zip binutils-f2a98603a807101722f12b8d7a1aca9651deb133.tar.gz binutils-f2a98603a807101722f12b8d7a1aca9651deb133.tar.bz2 |
Remove now-unused C evaluator code
Now that the C parser has switched to the new style, there is no need
for the old C evaluation code. This affects some other languages that
were relying on the C code.
gdb/ChangeLog
2021-03-08 Tom Tromey <tom@tromey.com>
* go-lang.c (go_language::expression_ops): Don't declare.
* go-lang.h (class go_language) <expression_ops>: Remove.
* opencl-lang.c (evaluate_subexp_opencl, exp_descriptor_opencl):
Remove.
(class opencl_language) <expression_ops>: Remove.
* d-lang.c (class d_language) <expression_ops>: Remove.
* c-lang.h (evaluate_subexp_c, exp_descriptor_c): Don't declare.
* c-lang.c (evaluate_subexp_c, exp_descriptor_c): Remove.
(class c_language, class cplus_language, class asm_language)
(class minimal_language) <expression_ops>: Remove.
Diffstat (limited to 'gdb/d-lang.c')
-rw-r--r-- | gdb/d-lang.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/d-lang.c b/gdb/d-lang.c index 65ee740..4488c10 100644 --- a/gdb/d-lang.c +++ b/gdb/d-lang.c @@ -219,11 +219,6 @@ public: /* See language.h. */ - 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 d_op_print_tab; } }; |