Changeset 21383 for trunk/src


Ignore:
Timestamp:
Jul 5, 2010, 3:29:13 PM (15 years ago)
Author:
dmik
Message:

SEH: Don't call except blocks during exception stack unwind (for compatibility with MSVC).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/seh/sehutil.s

    r21382 r21383  
    4040    pushl %edi
    4141    pushl %esi
     42
     43    /* skip EH_UNWINDING calls (for compatibility with MSVC) */
     44    movl 8(%ebp), %ebx
     45    movl 4(%ebx), %eax /* pRec->ExceptionFlags */
     46    testl $0x2, %eax /* EH_UNWINDING? */
     47    movl $1, %eax /* ExceptionContinueSearch */
     48    jne ___seh_handler_Return
    4249
    4350    /* save handler's context */
Note: See TracChangeset for help on using the changeset viewer.