Re: [PATCH] readelf: Print arguments to DW_OP_call2 and DW_OP_call4 as DIE offsets.

2017-12-11 Thread Mark Wielaard
On Thu, 2017-12-07 at 22:39 +0100, Mark Wielaard wrote: > DW_OP_call2 and DW_OP_call4 didn't correctly advance the data pointer. > This caused print_ops to produce garbage operands. Also format the > arguments as DIE offsets. That makes it easier to follow the call to > the actual dwarf_procedure D

Re: [PATCH] readelf: Print arguments to DW_OP_call2 and DW_OP_call4 as DIE offsets.

2017-12-07 Thread Mark Wielaard
On Thu, Dec 07, 2017 at 04:32:39PM +0100, Mark Wielaard wrote: > That makes it easier to follow the call to the actual DIE. That only made it more clear we weren't handling DW_OP_call2/4 correctly. We were not updating the data pointer. Now includes a somewhat interesting Ada testcase. >From bbbf5