Changeset 5199


Ignore:
Timestamp:
Sep 12, 2006, 4:31:04 AM (18 years ago)
Author:
Gary Byers
Message:

Enter the debugger if altstack_signal_handler is entered in foreign code.
(Maybe want to signal a lisp error in some cases, but this is currently
fatal and we might as well die earlier than with a stack overflow.)

File:
1 edited

Legend:

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

    r5165 r5199  
    943943  TCR* tcr = get_tcr(true);
    944944  LispObj *foreign_rsp = find_foreign_rsp(xpGPR(context,Isp), tcr->cs_area, tcr);
     945#if 1
     946  if (tcr->valence != TCR_STATE_LISP) {
     947    Bug(context, "exception in foreign context");
     948  }
     949#endif
    945950#ifdef LINUX
    946951  fpregset_t fpregs = NULL;
Note: See TracChangeset for help on using the changeset viewer.