Re: [PATCH] libdw: Add support for reading DW_FORM_addrx[1234] in .debug_addr.

2018-04-03 Thread Mark Wielaard
On Fri, 2018-03-30 at 17:56 +0200, Mark Wielaard wrote: > Recognize the new .debug_addr section. The CU will now hold a new > address base offset in that section for that CU. dwarf_form_addr will > decode DW_FORM_addrx[1234] and return addresses using that address > base from the .debug_addr. A new

[PATCH] libdw: Add support for reading DW_FORM_addrx[1234] in .debug_addr.

2018-03-30 Thread Mark Wielaard
Recognize the new .debug_addr section. The CU will now hold a new address base offset in that section for that CU. dwarf_form_addr will decode DW_FORM_addrx[1234] and return addresses using that address base from the .debug_addr. A new internal function read_3ubyte_unaligned will try to read a 24-b