This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] Handle GNU extension opcodes in dwarf_getlocation
- From: Petr Machata <pmachata at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 10 Oct 2012 08:56:16 +0200
- Subject: Re: [PATCH] Handle GNU extension opcodes in dwarf_getlocation
Jan Kratochvil <firstname.lastname@example.org> writes:
> On Tue, 09 Oct 2012 22:50:20 +0200, Petr Machata wrote:
>> Mark Wielaard <email@example.com> writes:
>> > Do you happen to know where
>> > DW_OP_GNU_reinterpret is described, I assumed it was part of
>> > http://www.dwarfstd.org/doc/040408.1.html but it isn't in there.
>> No, it isn't, I didn't find it anywhere else but in elfutils. It's not
>> even in my test binary, only DW_OP_GNU_convert is.
> DW_OP_GNU_convert is handled by GDB:
As well as DW_OP_GNU_reinterpret, great:
.byte 0xf7 # DW_OP_GNU_convert
.byte 0xf9 # DW_OP_GNU_reinterpret
So yeah, they both have the same arguments.