From owner-freebsd-current Thu Sep 30 19:11:51 1999 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 578E914C1D for ; Thu, 30 Sep 1999 19:11:48 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id TAA24817; Thu, 30 Sep 1999 19:11:44 -0700 (PDT) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id TAA26925; Thu, 30 Sep 1999 19:11:44 -0700 (PDT) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 30 Sep 1999 19:11:44 -0700 (PDT) Organization: Polstra & Co., Inc. From: John Polstra To: Bruce Evans Subject: Re: Now that sigcontext is gone ... Cc: current@FreeBSD.ORG, marcel@scc.nl Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bruce Evans wrote: > Sigcontext will have to come back, since it is a standard BSD interface. I think so too. I bet there are several ports besides Modula-3 that use it. Probably boehm-gc does. > BTW, struct sigcontext seems to be documented only in sigreturn.2, and > that documentation is more than 3 stages behind reality. I didn't even know about sigreturn.2. The sigcontext struct is also mentioned in sigaction.2, with a pointer to for the definition of the structure. >> currently which catches SIGBUS and uses the sigcontext's "sc_err" >> member to find out the faulting address. That should be replaced >> by the siginfo_t's "si_addr" member. But as far as I can tell from >> grepping the kernel sources, that functionality isn't implemented. >> >> Is that right? Any ideas regarding a work-around? > > The functionality of sc_trapno also seems to be unimplemented. These > fields are not documented, so you shouldn't be using them :-). I'm not -- Modula-3 is. :-} John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message