Re: [PATCH] readelf: Decode DW_AT_discr_list block attributes.

2019-05-14 Thread Mark Wielaard
On Fri, May 10, 2019 at 11:48:32AM -0600, Tom Tromey wrote: > > "Mark" == Mark Wielaard writes: > > Mark> Decode DW_AT_descr_list blocks using the DW_DSC values. > Mark> This requires knowing the signedness of the discriminant. > Mark> Which means the attr_callback function needs access to th

Re: [PATCH] readelf: Decode DW_AT_discr_list block attributes.

2019-05-10 Thread Tom Tromey
> "Mark" == Mark Wielaard writes: Mark> Decode DW_AT_descr_list blocks using the DW_DSC values. Mark> This requires knowing the signedness of the discriminant. Mark> Which means the attr_callback function needs access to the Mark> parent DIE. Pass the whole DIE path, plus the current level. M