Commit 37a4c9b8 authored by Alexandre Julliard's avatar Alexandre Julliard

First pass implementation of CxxFrameHandler (thanks to Juergen

Schmied for help in testing it).
parent 5ec74d6f
......@@ -13,6 +13,7 @@ SYMBOLFILE = $(MODULE).tmp.o
C_SRCS = \
console.c \
cpp.c \
cppexcept.c \
ctype.c \
data.c \
dir.c \
......
......@@ -373,20 +373,3 @@ void* MSVCRT_signal(int sig, MSVCRT_sig_handler_func func)
FIXME("(%d %p):stub\n", sig, func);
return (void*)-1;
}
/*********************************************************************
* __CxxFrameHandler (MSVCRT.@)
*/
DWORD __CxxFrameHandler(PEXCEPTION_RECORD rec, struct __EXCEPTION_FRAME* frame,
PCONTEXT context, struct __EXCEPTION_FRAME** dispatch)
{
FIXME("(%p,%p,%p,%p):stub?\n",rec,frame,context,dispatch);
/* Copied from MSVCRT_nested_handler, I hope this is more
* or less the right thing to do
*/
if (rec->ExceptionFlags & 0x6)
return ExceptionContinueSearch;
*dispatch = frame;
return ExceptionCollidedUnwind;
}
......@@ -68,7 +68,7 @@ init MSVCRT_Init
@ cdecl -noimport _CIsqrt() _CIsqrt
@ cdecl -noimport _CItan() _CItan
@ cdecl -noimport _CItanh() _CItanh
@ stub _CxxThrowException
@ cdecl _CxxThrowException(long long) _CxxThrowException
@ cdecl -i386 -norelay _EH_prolog() _EH_prolog
@ cdecl _Getdays() _Getdays
@ cdecl _Getmonths() _Getmonths
......@@ -76,7 +76,7 @@ init MSVCRT_Init
@ extern _HUGE MSVCRT__HUGE
@ cdecl _Strftime(str long str ptr ptr) _Strftime
@ cdecl _XcptFilter(long ptr) _XcptFilter
@ cdecl __CxxFrameHandler(ptr ptr ptr ptr) __CxxFrameHandler
@ cdecl -register -i386 __CxxFrameHandler(ptr ptr ptr ptr) __CxxFrameHandler
@ stub __CxxLongjmpUnwind
@ cdecl -noimport __RTCastToVoid(ptr) MSVCRT___RTCastToVoid
@ cdecl -noimport __RTDynamicCast(ptr long ptr ptr long) MSVCRT___RTDynamicCast
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment