[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 3e4db1: include sys/ucontext.h unconditionally in sqUnixMa...

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Mon Dec 11 09:25:23 UTC 2017


Hi,
sorry for the mistake.
ucontext is defined in sys/signal.h on OpenBSD
http://openbsd-archive.7691.n7.nabble.com/sys-ucontext-h-dead-code-walking-td269477.html

2017-12-11 10:18 GMT+01:00 Christian Kellermann <ckeen at pestilenz.org>:

>
> Hi Eliot,
>
> * Eliot Miranda <eliot.miranda at gmail.com> [171211 05:30]:
> > > There is no uc_mcontext, ucontext_t lives in <signal.h> and is a
> > > typedef for struct sigcontext. Why is this needed exactly?
>
> > The VM profiler samples the of periodically, storing it in a
> > circular buffer.  On unix this is fine by delivering a signal and
> > having the signal handler access the interrupted pc through the
> > supplied uc_mcontext
>
> How can I test this? So that we don't hide another incompatibility
> here...
>
> Kind regards,
>
> Christian
>
> --
> May you be peaceful, may you live in safety, may you be free from
> suffering, and may you live with ease.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20171211/effe6176/attachment-0001.html>


More information about the Vm-dev mailing list