* config/rs6000/linux-unwind.h (struct gcc_pt_regs): Extend to
include ccr.
(ppc_fallback_frame_state): Save location of CR.
From-SVN: r87543
+2004-09-15 Alan Modra <amodra@bigpond.net.au>
+
+ * config/rs6000/linux-unwind.h (struct gcc_pt_regs): Extend to
+ include ccr.
+ (ppc_fallback_frame_state): Save location of CR.
+
2004-09-15 Jakub Jelinek <jakub@redhat.com>
* expr.c (string_constant): Handle also read-only variables
unsigned long orig_gpr3;
unsigned long ctr;
unsigned long link;
+ unsigned long xer;
+ unsigned long ccr;
};
struct gcc_sigcontext
= (long)&(sc->regs->gpr[i]) - new_cfa;
}
+ fs->regs.reg[CR2_REGNO].how = REG_SAVED_OFFSET;
+ fs->regs.reg[CR2_REGNO].loc.offset
+ = (long)&(sc->regs->ccr) - new_cfa;
+
fs->regs.reg[LINK_REGISTER_REGNUM].how = REG_SAVED_OFFSET;
fs->regs.reg[LINK_REGISTER_REGNUM].loc.offset
= (long)&(sc->regs->link) - new_cfa;