Changeset 10766


Ignore:
Timestamp:
Sep 15, 2008, 11:30:54 PM (11 years ago)
Author:
gb
Message:

For now, use setcontext() for SIGRETURN on linuxx8632.
(We generally copy signal context information between
stacks, and have to misalign it just right to be able
to use sigreturn. We probably do want to misalign
it just right: setcontext() may not exist on as many
OS kernels.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/x86-exceptions.h

    r10726 r10766  
    162162#define SIGNUM_FOR_INTN_TRAP SIGSEGV
    163163#define IS_MAYBE_INT_TRAP(info,xp) (((info->si_code) &0x7f) == 0)
     164#ifdef X8664
    164165#define SIGRETURN(context)
     166#else
     167#define SIGRETURN(context) setcontext(context)
     168#endif
    165169#endif
    166170
Note: See TracChangeset for help on using the changeset viewer.