PPC / Unwinding non-call exceptions

Richard Henderson rth@redhat.com
Thu May 17 14:37:00 GMT 2001


On Thu, May 17, 2001 at 05:18:37PM +0100, Andrew Haley wrote:
> 	* config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.

Ok.

> +    /* The unwinder expects the IP to point to the following insn,	\
> +       whereas the kernel returns the address of the actual		\
> +       faulting insn.  */						\
> +    sc_->regs->nip += 4;  						\

Always?  For instance on Alpha, SIGSEGV/SIGBUS point to the
faulting insn, while SIGFPE/SIGILL point to the following insn.


r~



More information about the Gcc-patches mailing list