DW_OP_value would be very useful in GCC to output debug info for this pointers of inlined methods where the actual address was optimized out.
Yeah -- but I don't think DW_OP_value is in any released standard. I guess we could make DW_OP_GNU_value in the meantime, depending on how urgent this is.
Subject: Re: DW_OP_value not supported On Sun, Mar 22, 2009 at 12:00:18AM -0000, tromey at redhat dot com wrote: > Yeah -- but I don't think DW_OP_value is in any released standard. > I guess we could make DW_OP_GNU_value in the meantime, depending > on how urgent this is. I think it's reasonable to take the value in the draft at this point; it's marked as accepted, and while it could conceivably be backed out (in fact it obsoleted an earlier extension to DWARF3), I don't think it's likely. My two cents.
According to jakub, these may be the values: DW_OP_implicit_value 0x9e DW_OP_stack_value 0x9f
Handy pointers: http://www.dwarfstd.org/ShowIssue.php?issue=070426.1&type=closed3 http://www.dwarfstd.org/ShowIssue.php?issue=071227.1&type=closed3 Apparently DW_OP_value was renamed DW_OP_stack_value.
Working on a patch.
I checked in the fix.