mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
ntdll: Move RtlUnwind to unwind.c.
This commit is contained in:
parent
8602a1c24e
commit
3b85ab31a9
6 changed files with 25 additions and 76 deletions
|
@ -1513,7 +1513,7 @@
|
|||
@ cdecl __isascii(long)
|
||||
@ cdecl __iscsym(long)
|
||||
@ cdecl __iscsymf(long)
|
||||
@ stdcall -arch=arm __jump_unwind(ptr ptr)
|
||||
@ stdcall -arch=arm __jump_unwind(ptr ptr) _local_unwind
|
||||
@ cdecl __toascii(long)
|
||||
@ cdecl -norelay -arch=i386 -ret64 _alldiv(int64 int64)
|
||||
@ cdecl -arch=i386 -norelay _alldvrm(int64 int64)
|
||||
|
|
|
@ -827,25 +827,6 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
|
|||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* RtlUnwind (NTDLL.@)
|
||||
*/
|
||||
void WINAPI RtlUnwind( void *frame, void *target_ip, EXCEPTION_RECORD *rec, void *retval )
|
||||
{
|
||||
CONTEXT context;
|
||||
RtlUnwindEx( frame, target_ip, rec, retval, &context, NULL );
|
||||
}
|
||||
|
||||
|
||||
/*******************************************************************
|
||||
* __jump_unwind (NTDLL.@)
|
||||
*/
|
||||
void WINAPI __jump_unwind( void *frame, void *target_ip )
|
||||
{
|
||||
CONTEXT context;
|
||||
RtlUnwindEx( frame, target_ip, NULL, NULL, &context, NULL );
|
||||
}
|
||||
|
||||
extern LONG __C_ExecuteExceptionFilter(PEXCEPTION_POINTERS ptrs, PVOID frame,
|
||||
PEXCEPTION_FILTER filter,
|
||||
PUCHAR nonvolatile);
|
||||
|
|
|
@ -841,24 +841,6 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
|
|||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* RtlUnwind (NTDLL.@)
|
||||
*/
|
||||
void WINAPI RtlUnwind( void *frame, void *target_ip, EXCEPTION_RECORD *rec, void *retval )
|
||||
{
|
||||
CONTEXT context;
|
||||
RtlUnwindEx( frame, target_ip, rec, retval, &context, NULL );
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
* _local_unwind (NTDLL.@)
|
||||
*/
|
||||
void WINAPI _local_unwind( void *frame, void *target_ip )
|
||||
{
|
||||
CONTEXT context;
|
||||
RtlUnwindEx( frame, target_ip, NULL, NULL, &context, NULL );
|
||||
}
|
||||
|
||||
extern LONG __C_ExecuteExceptionFilter(PEXCEPTION_POINTERS ptrs, PVOID frame,
|
||||
PEXCEPTION_FILTER filter,
|
||||
PUCHAR nonvolatile);
|
||||
|
|
|
@ -1792,25 +1792,6 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
|
|||
}
|
||||
|
||||
|
||||
/*******************************************************************
|
||||
* RtlUnwind (NTDLL.@)
|
||||
*/
|
||||
void WINAPI RtlUnwind( void *frame, void *target_ip, EXCEPTION_RECORD *rec, void *retval )
|
||||
{
|
||||
FIXME( "not implemented\n" );
|
||||
}
|
||||
|
||||
|
||||
/*******************************************************************
|
||||
* _local_unwind (NTDLL.@)
|
||||
*/
|
||||
void WINAPI _local_unwind( void *frame, void *target_ip )
|
||||
{
|
||||
CONTEXT context;
|
||||
RtlUnwindEx( frame, target_ip, NULL, NULL, &context, NULL );
|
||||
}
|
||||
|
||||
|
||||
/*******************************************************************
|
||||
* __C_specific_handler (NTDLL.@)
|
||||
*/
|
||||
|
|
|
@ -981,25 +981,6 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
|
|||
}
|
||||
|
||||
|
||||
/*******************************************************************
|
||||
* RtlUnwind (NTDLL.@)
|
||||
*/
|
||||
void WINAPI RtlUnwind( void *frame, void *target_ip, EXCEPTION_RECORD *rec, void *retval )
|
||||
{
|
||||
CONTEXT context;
|
||||
RtlUnwindEx( frame, target_ip, rec, retval, &context, NULL );
|
||||
}
|
||||
|
||||
|
||||
/*******************************************************************
|
||||
* _local_unwind (NTDLL.@)
|
||||
*/
|
||||
void WINAPI _local_unwind( void *frame, void *target_ip )
|
||||
{
|
||||
CONTEXT context;
|
||||
RtlUnwindEx( frame, target_ip, NULL, NULL, &context, NULL );
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
* __C_specific_handler (NTDLL.@)
|
||||
*/
|
||||
|
|
|
@ -1916,4 +1916,28 @@ BOOLEAN CDECL RtlAddFunctionTable( RUNTIME_FUNCTION *table, DWORD count, ULONG_P
|
|||
|
||||
#endif /* __x86_64__ */
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* Generic unwind functions
|
||||
*/
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* RtlUnwind (NTDLL.@)
|
||||
*/
|
||||
void WINAPI RtlUnwind( void *frame, void *target_ip, EXCEPTION_RECORD *rec, void *retval )
|
||||
{
|
||||
CONTEXT context;
|
||||
RtlUnwindEx( frame, target_ip, rec, retval, &context, NULL );
|
||||
}
|
||||
|
||||
|
||||
/*******************************************************************
|
||||
* _local_unwind (NTDLL.@)
|
||||
*/
|
||||
void WINAPI _local_unwind( void *frame, void *target_ip )
|
||||
{
|
||||
RtlUnwind( frame, target_ip, NULL, NULL );
|
||||
}
|
||||
|
||||
#endif /* !__i386__ */
|
||||
|
|
Loading…
Reference in a new issue