Subject: finding faulted address
To: None <current-users@NetBSD.ORG>
From: VaX#n8 <email@example.com>
Date: 08/21/1995 23:06:27
I'm trying to find the faulted-on address in a SIGBUS handler.
StunOS passes the address as another parameter to the signal handler,
but I'm afraid I'm a bit confused as to how to get this from NetBSD.
I'm looking over the machine/signal.h, but it appears to my untrained eye
that I'd have to do some decoding of machine instructions (blech) and
Mainly I'm mprotecting some heap pages and I want to find out which ones
are being accessed, munprotect them, allow the access, and then later
VaX#n8 (vak-sa-nate) - n, CS senior++ and ueber-rrific - firstname.lastname@example.org
There are two kinds of people, those that finish their thoughts, and so on....