diff options
author | Zoran Zaric <zoran.zaric@amd.com> | 2020-09-15 12:24:11 +0100 |
---|---|---|
committer | Zoran Zaric <zoran.zaric@amd.com> | 2021-08-05 16:40:17 +0100 |
commit | 14a62404c9845827d92986af2dfcdbb7e48c65fc (patch) | |
tree | b533e9602db2f6a0b86d895d1a7db434e0e1281d /opcodes/m32c-asm.c | |
parent | 9e739f693f142ac634d9d127bd9951d0c62593c1 (diff) | |
download | gdb-14a62404c9845827d92986af2dfcdbb7e48c65fc.zip gdb-14a62404c9845827d92986af2dfcdbb7e48c65fc.tar.gz gdb-14a62404c9845827d92986af2dfcdbb7e48c65fc.tar.bz2 |
Remove empty frame and full evaluators
There are no virtual methods that require different specialization in
dwarf_expr_context class. This means that derived classes
dwarf_expr_executor and dwarf_evaluate_loc_desc are not needed any
more.
As a result of this, the evaluate_for_locexpr_baton class base class
is now the dwarf_expr_context class.
There might be a need for a better class hierarchy when we know more
about the direction of the future DWARF versions and gdb extensions,
but that is out of the scope of this patch series.
gdb/ChangeLog:
* dwarf2/frame.c (class dwarf_expr_executor): Remove class.
(execute_stack_op): Instantiate dwarf_expr_context instead of
dwarf_evaluate_loc_desc class.
* dwarf2/loc.c (class dwarf_evaluate_loc_desc): Remove class.
(dwarf2_evaluate_loc_desc_full): Instantiate dwarf_expr_context
instead of dwarf_evaluate_loc_desc class.
(struct evaluate_for_locexpr_baton): Derive from
dwarf_expr_context.
Diffstat (limited to 'opcodes/m32c-asm.c')
0 files changed, 0 insertions, 0 deletions