diff options
author | Zoran Zaric <Zoran.Zaric@amd.com> | 2020-10-09 13:25:10 +0100 |
---|---|---|
committer | Zoran Zaric <zoran.zaric@amd.com> | 2021-08-05 16:39:51 +0100 |
commit | 73e6b863308a026a5c87dc73ab2417ee39027d4c (patch) | |
tree | ade78d0214d645150fd8924406669dae4bc12702 /opcodes/m32c-asm.c | |
parent | b6d156edd8f2186445ff7b73dede720619a27d02 (diff) | |
download | gdb-73e6b863308a026a5c87dc73ab2417ee39027d4c.zip gdb-73e6b863308a026a5c87dc73ab2417ee39027d4c.tar.gz gdb-73e6b863308a026a5c87dc73ab2417ee39027d4c.tar.bz2 |
Move get_object_address to dwarf_expr_context
Following the idea of merging the evaluators, the get_object_address
and can be moved from dwarf_expr_executor and dwarf_evaluate_loc_desc
classes to their base class dwarf_expr_context.
gdb/ChangeLog:
* dwarf2/expr.c (dwarf_expr_context::get_object_address): Move
from dwarf_evaluate_loc_desc.
(class dwarf_expr_context): Add object address member to
dwarf_expr_context.
* dwarf2/expr.h (dwarf_expr_context::get_frame_pc): Remove
method.
* dwarf2/frame.c (dwarf_expr_executor::get_object_address):
Remove method.
* dwarf2/loc.c (dwarf_evaluate_loc_desc::get_object_address):
move to dwarf_expr_context.
(class dwarf_evaluate_loc_desc): Move object address member to
dwarf_expr_context.
Diffstat (limited to 'opcodes/m32c-asm.c')
0 files changed, 0 insertions, 0 deletions