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: Tue, 09 Oct 2012 22:50:20 +0200
- Subject: Re: [PATCH] Handle GNU extension opcodes in dwarf_getlocation
Mark Wielaard <email@example.com> writes:
> On Tue, Oct 09, 2012 at 02:27:51AM +0200, Petr Machata wrote:
>> This is just for low-level byte munching support, so that libdw knows
>> how to decode the opcode stream, and doesn't fail when it encounters one
>> of the new opcodes.
> The decoding of the OPs seems correct. 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. FWIW this is the
e-mail which introduced it to elfutils themselves: