Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 1995 05:20:20 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        hackers@FreeBSD.org, thomas@ghpc8.ihf.rwth-aachen.de
Subject:   Re: faulting memory reference after SIGSEGV?
Message-ID:  <199501301820.FAA08328@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>How can a SIGSEGV or SIGBUS handler find out the address of the
>faulting memory reference?  I noticed `struct sigcontext' and I
>assume the information is probably in there somewhere.  Where?

It can't.  Someone suggested adding the fault address to `struct
sigcontext' in 1.1.x, but it isn't there now.

A fictitious (vax?) `struct sigcontext' is documented in several
places.  See <machine/signal.h> for the one actually supported.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501301820.FAA08328>