[PATCH 10/30] Remove empty frame and full evaluators

Tom Tromey tom@tromey.com
Thu Jan 21 21:37:31 GMT 2021


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

Zoran> gdb/ChangeLog:

Zoran> 	* dwarf2/frame.c (class dwarf_expr_executor): Remove class.
Zoran> 	(execute_stack_op): Instantiate dwarf_expr_context instead of
Zoran> 	dwarf_evaluate_loc_desc class.
Zoran> 	* dwarf2/loc.c (class dwarf_evaluate_loc_desc): Remove class.
Zoran> 	(dwarf2_evaluate_loc_desc_full): Instantiate dwarf_expr_context
Zoran> 	instead of dwarf_evaluate_loc_desc class.
Zoran> 	(struct evaluate_for_locexpr_baton): Derive from
Zoran> 	dwarf_expr_context.

Looks good.  Thanks for doing this, it's a nice cleanup.

Tom


More information about the Gdb-patches mailing list