This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PPC / Unwinding non-call exceptions


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]