ntdll: Moved RtlCaptureStackBackTrace stub to the cpu-specific files.

This commit is contained in:
Alexandre Julliard 2009-11-11 17:19:23 +01:00
parent ab081aa845
commit d45fca8f7c
5 changed files with 38 additions and 24 deletions

View file

@ -248,30 +248,6 @@ ULONG WINAPI RtlRemoveVectoredExceptionHandler( PVOID handler )
}
/*************************************************************************
* RtlCaptureStackBackTrace [NTDLL.@]
*
* Captures stack backtrace
*
* PARAMS
* Skip [I] Number of stack frames to skip before starting a capture
* Count [I] Number of stack frames to capture into Buffer
* Buffer [O] Array of backtrace pointers captured from stack
* Hash [O] Optional pointer to variable where backtrace hash should be stored
*
* RETURNS
* Number of captured stack frames or 0 if error occurred
*
* NOTES
* Unimplemented
*/
USHORT WINAPI RtlCaptureStackBackTrace(ULONG Skip, ULONG Count, PVOID *Buffer, ULONG *Hash)
{
FIXME("(%d, %d, %p, %p) stub!\n", Skip, Count, Buffer, Hash);
return 0;
}
/*************************************************************
* __wine_spec_unimplemented_stub
*

View file

@ -2280,6 +2280,16 @@ void WINAPI __regs_RtlRaiseException( EXCEPTION_RECORD *rec, CONTEXT *context )
DEFINE_REGS_ENTRYPOINT( RtlRaiseException, 1 )
/*************************************************************************
* RtlCaptureStackBackTrace (NTDLL.@)
*/
USHORT WINAPI RtlCaptureStackBackTrace( ULONG skip, ULONG count, PVOID *buffer, ULONG *hash )
{
FIXME( "(%d, %d, %p, %p) stub!\n", skip, count, buffer, hash );
return 0;
}
/* wrapper for apps that don't declare the thread function correctly */
extern void DECLSPEC_NORETURN call_thread_func( LPTHREAD_START_ROUTINE entry, void *arg );
__ASM_GLOBAL_FUNC(call_thread_func,

View file

@ -1086,6 +1086,15 @@ void WINAPI RtlRaiseException( EXCEPTION_RECORD *rec )
if (status) raise_status( status, rec );
}
/*************************************************************************
* RtlCaptureStackBackTrace (NTDLL.@)
*/
USHORT WINAPI RtlCaptureStackBackTrace( ULONG skip, ULONG count, PVOID *buffer, ULONG *hash )
{
FIXME( "(%d, %d, %p, %p) stub!\n", skip, count, buffer, hash );
return 0;
}
/***********************************************************************
* call_thread_entry_point
*/

View file

@ -828,6 +828,15 @@ void WINAPI RtlRaiseException( EXCEPTION_RECORD *rec )
if (status) raise_status( status, rec );
}
/*************************************************************************
* RtlCaptureStackBackTrace (NTDLL.@)
*/
USHORT WINAPI RtlCaptureStackBackTrace( ULONG skip, ULONG count, PVOID *buffer, ULONG *hash )
{
FIXME( "(%d, %d, %p, %p) stub!\n", skip, count, buffer, hash );
return 0;
}
/***********************************************************************
* call_thread_entry_point
*/

View file

@ -2882,6 +2882,16 @@ void WINAPI __regs_RtlRaiseException( EXCEPTION_RECORD *rec, CONTEXT *context )
DEFINE_REGS_ENTRYPOINT( RtlRaiseException, 1 )
/*************************************************************************
* RtlCaptureStackBackTrace (NTDLL.@)
*/
USHORT WINAPI RtlCaptureStackBackTrace( ULONG skip, ULONG count, PVOID *buffer, ULONG *hash )
{
FIXME( "(%d, %d, %p, %p) stub!\n", skip, count, buffer, hash );
return 0;
}
/***********************************************************************
* call_thread_func
*/