linux-um archives
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Mattia Belletti <mbellett@cs.unibo.it>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Getting fault address from a SIGSEGV
Date: Sat, 19 Mar 2005 14:57:32 -0500	[thread overview]
Message-ID: <200503191957.j2JJvWxo002621@ccure.user-mode-linux.org> (raw)
In-Reply-To: Your message of "Sat, 19 Mar 2005 14:44:44 +0100." <423C2CCC.9040809@cs.unibo.it>

mbellett@cs.unibo.it said:
> but I don't know where  in the code such status is filled, and so
> where such information is  taken from :-)

On x86 (and x86_64), the fault address is sigcontext.cr2, the access type is
stored in .err, and the CPU fault type is in .trapno.

				Jeff



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      reply	other threads:[~2005-03-19 19:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-19 13:44 [uml-devel] Getting fault address from a SIGSEGV Mattia Belletti
2005-03-19 19:57 ` Jeff Dike [this message]

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=200503191957.j2JJvWxo002621@ccure.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=mbellett@cs.unibo.it \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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