Re: [PATCH] readelf: Set begin properly for DW_LLE_GNU_start_end_entry on addrx failure.

2018-06-08 Thread Mark Wielaard
On Tue, 2018-06-05 at 23:06 +0200, Mark Wielaard wrote: > When printing the GNU DebugFission location entries we want to print the > start idx as begin, if we cannot find the address index. > A copy/paste error set up end instead of begin in that case causing us > to print garbage (in the unlikely

[PATCH] readelf: Set begin properly for DW_LLE_GNU_start_end_entry on addrx failure.

2018-06-05 Thread Mark Wielaard
When printing the GNU DebugFission location entries we want to print the start idx as begin, if we cannot find the address index. A copy/paste error set up end instead of begin in that case causing us to print garbage (in the unlikely event the .debug_addr table wasn't found for this entry). Signe