[PATCH] readelf: Print DW_AT_data_member_location as decimal offset, not hex number.
Wed Apr 10 21:32:00 GMT 2019
On Wed, Apr 03, 2019 at 04:54:15PM +0200, Mark Wielaard wrote:
> The data_member_location attribute was printed as a hex number, but other
> constant attributes like bit_offset, byte_size or alignment were printed
> as decimal numbers. This is confusing.
> The reason that data_member_location was printed as hex seemed to have
> been because it could also have been a location description, in which
> case it might have been of DW_FORM_loclist, for which it makes sense
> to print as hex offset (between square brackets).
Pushed to master.
More information about the Elfutils-devel