Ignore:
Timestamp:
Jul 5, 2010, 2:30:14 AM (15 years ago)
Author:
dmik
Message:

Implemented compiler-level SEH (try/catch) support for GCC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/exceptions.cpp

    r21337 r21381  
    12071207        dprintfException(pERepRec, pERegRec, pCtxRec, p);
    12081208        dprintf(("KERNEL32: OS2ExceptionHandler: FPU exception\n"));
    1209         if(!fIsOS2Image && !fExitProcess)  //Only for real win32 apps
     1209        if((!fIsOS2Image || fSEHEnabled) && !fExitProcess)  //Only for real win32 apps or if SEH enabled
    12101210        {
    12111211                if(OSLibDispatchException(pERepRec, pERegRec, pCtxRec, p) == FALSE)
     
    14671467#endif
    14681468
    1469         if(!fIsOS2Image && !fExitProcess)  //Only for real win32 apps
     1469        if((!fIsOS2Image || fSEHEnabled) && !fExitProcess)  //Only for real win32 apps or if SEH enabled
    14701470        {
    14711471            if(OSLibDispatchException(pERepRec, pERegRec, pCtxRec, p) == TRUE)
Note: See TracChangeset for help on using the changeset viewer.