Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 1995 11:01:20 +0100 (MET)
From:      Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>
To:        hackers@FreeBSD.org
Subject:   faulting memory reference after SIGSEGV?
Message-ID:  <199501301001.LAA04803@ghpc6.ihf.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
Moin moin,

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?

tg

(Oh yes, are there any docs on the layout of executables?  There are
some macros in <a.out.h> which aren't mentioned in the man page, and
it would be nice to know what they do.)



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