Date: Thu, 30 Sep 1999 19:11:44 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: Bruce Evans <bde@zeta.org.au> Cc: current@FreeBSD.ORG, marcel@scc.nl Subject: Re: Now that sigcontext is gone ... Message-ID: <XFMail.990930191144.jdp@polstra.com> In-Reply-To: <Pine.BSF.4.10.9910010840220.17284-100000@alphplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <signal.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990930191144.jdp>
