public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: "Aneesh Kumar K.V" <aneesh.kumar@digital.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] sigcontext structure
Date: Mon, 07 Oct 2002 10:09:36 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590701906087@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590701906086@msgid-missing>

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




  reply	other threads:[~2002-10-07 10:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-06 17:43 [Linux-ia64] sigcontext structure shiva chetan
2002-10-07 10:09 ` Aneesh Kumar K.V [this message]
2002-11-13 18:42 ` shiva chetan
2002-11-14  0:55 ` David Mosberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590701906087@msgid-missing \
    --to=aneesh.kumar@digital.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox