Bug 9979 - DW_OP_value not supported
Summary: DW_OP_value not supported
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: unknown
: P2 enhancement
Target Milestone: 7.0
Assignee: Tom Tromey
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-21 22:58 UTC by Jan Hubicka
Modified: 2009-09-14 15:57 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed: 2009-06-20 16:37:59


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Hubicka 2009-03-21 22:58:00 UTC
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.
Comment 1 Tom Tromey 2009-03-22 00:00:17 UTC
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.
Comment 2 drow@false.org 2009-03-22 00:19:38 UTC
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.

Comment 3 Frank Ch. Eigler 2009-06-10 19:07:55 UTC
According to jakub, these may be the values:

 DW_OP_implicit_value 0x9e
 DW_OP_stack_value 0x9f
Comment 4 Tom Tromey 2009-06-10 20:38:37 UTC
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.
Comment 5 Tom Tromey 2009-06-20 16:37:59 UTC
Working on a patch.
Comment 6 Tom Tromey 2009-09-14 15:57:56 UTC
I checked in the fix.