Changeset 14427


Ignore:
Timestamp:
Nov 12, 2010, 9:02:42 PM (9 years ago)
Author:
gb
Message:

On x8664 platforms where we use real signal handling and where
sigaltstack works, check for and try to handle foreign SIGFPE
in altstack_signal_handler().

File:
1 edited

Legend:

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

    r14426 r14427  
    16951695{
    16961696  TCR* tcr = get_tcr(true);
    1697 #if 0
    1698   if (tcr->valence != TCR_STATE_LISP) {
    1699     lisp_Debugger(context, info, signum, true, "exception in foreign context");
    1700   }
    1701 #endif
     1697
     1698#if WORD_SIZE==64
     1699  if ((signum == SIGFPE) && (tcr->valence != TCR_STATE_LISP)) {
     1700    if (handle_foreign_fpe(tcr,context,info)) {
     1701      return;
     1702    }
     1703  }
     1704#endif
     1705     
    17021706  handle_signal_on_foreign_stack(tcr,signal_handler,signum,info,context,(LispObj)__builtin_return_address(0)
    17031707#ifdef DARWIN_GS_HACK
Note: See TracChangeset for help on using the changeset viewer.