Re: [PATCH] readelf: Always initialize .debug_addr unit_length, even without a header.

2018-06-08 Thread Mark Wielaard
On Tue, 2018-06-05 at 23:23 +0200, Mark Wielaard wrote: > We would print a "fake" .debug_addr header, but didn't always setup the > unit_length (in case there was a mix of GNU DebugFission and DWARF5 tables). > Make sure to always set the unit_length (we do always calculate the next > unit offset a

[PATCH] readelf: Always initialize .debug_addr unit_length, even without a header.

2018-06-05 Thread Mark Wielaard
We would print a "fake" .debug_addr header, but didn't always setup the unit_length (in case there was a mix of GNU DebugFission and DWARF5 tables). Make sure to always set the unit_length (we do always calculate the next unit offset already). Signed-off-by: Mark Wielaard --- src/ChangeLog | 5 +