[Mono-dev] unbreak build on OpenBSD/amd64

Zoltan Varga vargaz at gmail.com
Thu May 13 12:46:17 EDT 2010


Committed.

         Zoltan

On Thu, May 13, 2010 at 10:29 AM, Robert Nagy <robert at openbsd.org> wrote:

> Hey
>
> No UCONTEXT_GREGS on OpenBSD.
>
> Index: mono/mini/exceptions-amd64.c
> ===================================================================
> --- mono/mini/exceptions-amd64.c        (revision 157293)
> +++ mono/mini/exceptions-amd64.c        (working copy)
> @@ -686,7 +686,7 @@
>  gboolean
>  mono_arch_handle_exception (void *sigctx, gpointer obj, gboolean
> test_only)
>  {
> -#if defined(MONO_ARCH_USE_SIGACTION)
> +#if defined(MONO_ARCH_USE_SIGACTION) && defined(UCONTEXT_GREGS)
>        /*
>         * Handling the exception in the signal handler is problematic,
> since the original
>         * signal is disabled, and we could run arbitrary code though the
> debugger. So
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100513/23a90eeb/attachment.html 


More information about the Mono-devel-list mailing list