Re: [Linux-ia64] sigcontext structure

From: Aneesh Kumar K.V <aneesh.kumar_at_digital.com>
Date: 2002-10-07 19:57:36
Hi, 

Using sigaction with siginfo will help you in catching those address. 

siginfo.si_addr carry the faulting  address 

and  the below statement shows how it is calcluated  
siginfo.si_addr = (void *) (regs->cr_iip + ia64_psr(regs)->ri); 

where regs is pt_regs. 



-aneesh 


On Sun, 2002-10-06 at 23:13, shiva chetan wrote:
> where can i find info on sigcontext structure on linux/ia-64 ?
> specifically which registers hold the faulting address/type on a
> segmention fault and the trap no on a SIGTRAP ?
>  
> thanks
> chetan
Received on Mon Oct 07 02:57:29 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:10 EST