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

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

2017-12-07 Thread Mark Wielaard
That makes it easier to follow the call to the actual DIE. Signed-off-by: Mark Wielaard --- src/ChangeLog | 5 + src/readelf.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index c56c323..364a30f 100644 --- a/src/ChangeLog +++ b/src/Ch