Changeset 13943


Ignore:
Timestamp:
Jul 9, 2010, 4:08:20 AM (9 years ago)
Author:
rme
Message:

When we get EXC_ARITHMETIC in catch_exception_raise(), translate a
code of EXC_I386_DIV (1) to FPE_INTDIV (7).

This apparently worked by luck before because FPE_FLTDIV happens to
be 1, and the error callback looked for either FPE_FLTDIV or
FPE_INTDIV.

This change also causes the lisp to enter the kernel debugger right
away when foreign code does an integer /0 (before the change, we would
attempt to invoke the error callback, which got confused.)

(This is all Darwin-specific, of course.)

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.