This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: register name for DW_AT_frame_base value
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jerome Guitton <guitton at adacore dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 19 Apr 2005 12:33:28 -0400
- Subject: Re: register name for DW_AT_frame_base value
- References: <20050419162927.GE13591@adacore.com>
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