Changeset 10195


Ignore:
Timestamp:
Jul 24, 2008, 11:03:44 AM (11 years ago)
Author:
gb
Message:

Better IS_MAYBE_INT_TRAP for Solaris.

File:
1 edited

Legend:

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

    r10096 r10195  
    156156#ifdef SOLARIS
    157157#define SIGNUM_FOR_INTN_TRAP SIGSEGV
    158 #define IS_MAYBE_INT_TRAP(info,xp) (((info)->si_code) == SEGV_MAPERR)
     158#define IS_MAYBE_INT_TRAP(info,xp) ((xpGPR(xp,REG_TRAPNO)==0xd)&&((xpGPR(xp,REG_ERR)&7)==2))
    159159#define SIGRETURN(context) setcontext(context)
    160160#endif
Note: See TracChangeset for help on using the changeset viewer.