aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/frame.c
diff options
context:
space:
mode:
authorZoran Zaric <zoran.zaric@amd.com>2020-09-15 11:55:55 +0100
committerZoran Zaric <zoran.zaric@amd.com>2021-08-05 16:40:06 +0100
commit0a2b69d04bbb0b5d69ae93da998b65d44fc7612b (patch)
tree81fd0e8c389cd655910f03359045913db396bafd /gdb/dwarf2/frame.c
parent3c7c57cdc06412d9c81dcc2d89ff2ab4e4704708 (diff)
downloadbinutils-0a2b69d04bbb0b5d69ae93da998b65d44fc7612b.zip
binutils-0a2b69d04bbb0b5d69ae93da998b65d44fc7612b.tar.gz
binutils-0a2b69d04bbb0b5d69ae93da998b65d44fc7612b.tar.bz2
Move push_dwarf_reg_entry_value to expr.c
Following the idea of merging the evaluators, the push_dwarf_reg_entry_value method 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::push_dwarf_reg_entry_value): Move from dwarf_evaluate_loc_desc. * dwarf2/frame.c (dwarf_expr_executor::push_dwarf_reg_entry_value): Remove method. * dwarf2/loc.c (dwarf_expr_reg_to_entry_parameter): Expose function. (dwarf_evaluate_loc_desc::push_dwarf_reg_entry_value): Move to dwarf_expr_context. * dwarf2/loc.h (dwarf_expr_reg_to_entry_parameter): Expose function.
Diffstat (limited to 'gdb/dwarf2/frame.c')
-rw-r--r--gdb/dwarf2/frame.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/dwarf2/frame.c b/gdb/dwarf2/frame.c
index 76a546f..8d42002 100644
--- a/gdb/dwarf2/frame.c
+++ b/gdb/dwarf2/frame.c
@@ -232,13 +232,6 @@ public:
: dwarf_expr_context (per_objfile)
{}
- void push_dwarf_reg_entry_value (enum call_site_parameter_kind kind,
- union call_site_parameter_u kind_u,
- int deref_size) override
- {
- invalid ("DW_OP_entry_value");
- }
-
private:
void invalid (const char *op) ATTRIBUTE_NORETURN