Re: [PATCH 4/9] Remove addr_size field from struct piece_closure

Yao Qi
2017-04-13T09:10:06Z

Andreas Arnez <arnez@linux.vnet.ibm.com> writes:

> The addr_size field in the piece_closure data structure is a relic from
> before introducing the typed DWARF stack. It is obsolete now. This patch
> removes it.
>
> gdb/ChangeLog:
>
> * dwarf2loc.c (struct piece_closure) <addr_size>: Remove field.
> (allocate_piece_closure): Drop addr_size parameter.
> (dwarf2_evaluate_loc_desc_full): Adjust call to
> allocate_piece_closure.

LGTM.

--
Yao (齐尧)