This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: register name for DW_AT_frame_base value


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]