SH5 compact register numbering in gcc -> gdb interface

Joern Rennecke joern.rennecke@st.com
Tue May 7 12:03:00 GMT 2002


ac131313@cygnus.com wrote:
> Humor me here.
> 
> How do you use dwarf2 cfi to unwind a compact register (saved on the
> stack) back to a media register?  In addition to the address of the
> saved register you'll need to know that only part of the register was
> saved. Does CFI describe this?

P.S.:  It is not trivial to make gcc emit different register numbers
for different sizes, but for prologue cfi, that can be done by
attaching a REG_FRAME_RELATED_EXPR note referring to a different
register number when emitting the prologue.

-- 
--------------------------
SuperH
2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ
T:+44 1454 462330



More information about the Gdb mailing list