[PATCH 07/30] Move read_mem to dwarf_expr_context

Tom Tromey tom@tromey.com
Thu Jan 21 21:34:16 GMT 2021


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

Zoran> gdb/ChangeLog:

Zoran> 	* dwarf2/expr.c (dwarf_expr_context::read_mem): Move from
Zoran> 	dwarf_evaluate_loc_desc.
Zoran> 	* dwarf2/frame.c (dwarf_expr_executor::read_mem): Remove
Zoran> 	method.
Zoran> 	* dwarf2/loc.c (dwarf_evaluate_loc_desc::read_mem): Move to
Zoran> 	dwarf_expr_context.

Thank you.

I think the idea here is that there's still another override of read_mem?
This isn't obvious from the patch since of course it doesn't touch that
override.

Tom


More information about the Gdb-patches mailing list