From owner-freebsd-hackers Mon Jan 30 02:01:53 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id CAA28166 for hackers-outgoing; Mon, 30 Jan 1995 02:01:53 -0800 Received: from ghpc6.ihf.rwth-aachen.de (ghpc6.ihf.RWTH-Aachen.DE [134.130.90.6]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id CAA28155 for ; Mon, 30 Jan 1995 02:01:41 -0800 Received: (from thomas@localhost) by ghpc6.ihf.rwth-aachen.de (8.6.8/8.6.6) id LAA04803 for hackers@freebsd.org; Mon, 30 Jan 1995 11:01:21 +0100 From: Thomas Gellekum Message-Id: <199501301001.LAA04803@ghpc6.ihf.rwth-aachen.de> Subject: faulting memory reference after SIGSEGV? To: hackers@FreeBSD.org Date: Mon, 30 Jan 1995 11:01:20 +0100 (MET) Organization: Institut f. Hochfrequenztechnik, RWTH Aachen X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 386 Sender: hackers-owner@FreeBSD.org Precedence: bulk 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 which aren't mentioned in the man page, and it would be nice to know what they do.)