[PATCH 08/30] Move push_dwarf_reg_entry_value to expr.c

Tom Tromey tom@tromey.com
Thu Jan 21 21:35:49 GMT 2021


>>>>> "Zoran" == Zoran Zaric via Gdb-patches <gdb-patches@sourceware.org> writes:

Zoran> From: Zoran Zaric <zoran.zaric@amd.com>
Zoran> Following the idea of merging the evaluators, the
Zoran> push_dwarf_reg_entry_value method can be moved from
Zoran> dwarf_expr_executor and dwarf_evaluate_loc_desc classes
Zoran> to their base class dwarf_expr_context.

Zoran> gdb/ChangeLog:

Zoran> 	* dwarf2/expr.c
Zoran>         (dwarf_expr_context::push_dwarf_reg_entry_value): Move from
Zoran> 	dwarf_evaluate_loc_desc.
Zoran> 	* dwarf2/frame.c
Zoran> 	(dwarf_expr_executor::push_dwarf_reg_entry_value): Remove
Zoran> 	method.
Zoran> 	* dwarf2/loc.c (dwarf_expr_reg_to_entry_parameter): Expose
Zoran> 	function.
Zoran> 	(dwarf_evaluate_loc_desc::push_dwarf_reg_entry_value): Move to
Zoran> 	dwarf_expr_context.
Zoran> 	* dwarf2/loc.h (dwarf_expr_reg_to_entry_parameter): Expose
Zoran> 	function.

Thank you, this is ok.

Tom


More information about the Gdb-patches mailing list