Changeset 15857


Ignore:
Timestamp:
Jul 8, 2013, 12:01:39 PM (7 years ago)
Author:
gb
Message:

Don't try tp handle "customer-defined" Windows exceptions or
those that have a severity other than "error".

Runtime exceptions generated by the MSVC and CLR runtimes have
the "customer" bit set.

File:
1 edited

Legend:

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

    r15842 r15857  
    21082108
    21092109
    2110  
    2111   if ((code & 0x80000000L) == 0) {
     2110  /* Only try to handle codes which have a "severity" of error
     2111     (e.g. have their high 2 bits set) and which don't have bit
     2112     29 - the "customer" bit - set.
     2113     (Runtime exceptions generated MS language products have #xE
     2114     in thier high nibbles.  So much for "reserved for the customer".)
     2115  */
     2116  if ((code & 0xF0000000L) != 0xc0000000) {
    21122117    return EXCEPTION_CONTINUE_SEARCH;
    21132118  } else {
Note: See TracChangeset for help on using the changeset viewer.