register name for DW_AT_frame_base value
Daniel Jacobowitz
drow@false.org
Tue Apr 19 17:00:00 GMT 2005
On Tue, Apr 19, 2005 at 06:29:27PM +0200, Jerome Guitton wrote:
>
> A Dwarf interpretation question:
>
> We have a problem to make GCC-compiled code interact with the HP
> native debugger, and it looks like it is caused by the way the
> attribute DW_AT_frame_base is interpreted. Apparently, when a frame
> pointer can be found in a register, the value generated by GCC for the
> DW_AT_frame_base of the corresponding subroutine is a register name
> (i.e. DW_OP_reg<some_number>). Is it really allowed by the dwarf 2
> standard? I would tend to think that it is not.
You may want to join the dwarf-discuss list, where this exact same
conversation is taking place - probably about the exact same
interaction.
There have been voices on both sides, but I believe there's a narrow
majority towards allowing the current behavior.
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Gcc
mailing list