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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message