Re: [PATCH] readelf: Print DW_AT_data_member_location as decimal offset, not hex number.

2019-04-10 Thread Mark Wielaard
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 wa

[PATCH] readelf: Print DW_AT_data_member_location as decimal offset, not hex number.

2019-04-03 Thread Mark Wielaard
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 lo