Re: [RFC] add offset support to DWARF2_FRAME_REG_CFA

Mark Kettenis
2005-11-24T22:37:57Z

> Date: Wed, 23 Nov 2005 09:46:07 +0100
> From: Christophe LYON <christophe.lyon@st.com>
>
> Mark Kettenis wrote:
> >>Date: Tue, 22 Nov 2005 10:32:32 +0100
> >>From: Christophe LYON <christophe.lyon@st.com>
> >>
> >>Hi all,
> >>
> >>Following a discussion we had back in july, I would like to submit the
> >>following small patch. It enables to describe that SP = CFA + offset,
> >>rather than only SP = CFA.
> >
> >
> > Hmm, I can't really remember the discussion. Do you have a pointer
> > into the list archives for me?
> >
> Of course. It starts here:
> http://sources.redhat.com/ml/gdb/2005-07/msg00113.html

Thanks! You seemed to have forgotten about my suggestion to introduce
DWARF2_FRAME_REG_CFA_OFFSET. The problem is that as-is, your patch
seems to break sparc64 and cris. By introducing
DWARF2_FRAME_CFA_OFFSET all existing code will be safe.

Mark