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

Alexandre Julliard julliard at winehq.org
Thu Nov 12 10:22:07 CST 2009


Module: wine
Branch: master
Commit: d45fca8f7cc295c0f7badca2bb136a098aac9278
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d45fca8f7cc295c0f7badca2bb136a098aac9278

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Nov 11 17:19:23 2009 +0100

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

---

 dlls/ntdll/exception.c      |   24 ------------------------
 dlls/ntdll/signal_i386.c    |   10 ++++++++++
 dlls/ntdll/signal_powerpc.c |    9 +++++++++
 dlls/ntdll/signal_sparc.c   |    9 +++++++++
 dlls/ntdll/signal_x86_64.c  |   10 ++++++++++
 5 files changed, 38 insertions(+), 24 deletions(-)

diff --git a/dlls/ntdll/exception.c b/dlls/ntdll/exception.c
index 5fe0c28..63fd281 100644
--- a/dlls/ntdll/exception.c
+++ b/dlls/ntdll/exception.c
@@ -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
  *
diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
index 9be32a6..18a574d 100644
--- a/dlls/ntdll/signal_i386.c
+++ b/dlls/ntdll/signal_i386.c
@@ -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,
diff --git a/dlls/ntdll/signal_powerpc.c b/dlls/ntdll/signal_powerpc.c
index 67bee92..a1a6ccc 100644
--- a/dlls/ntdll/signal_powerpc.c
+++ b/dlls/ntdll/signal_powerpc.c
@@ -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
  */
diff --git a/dlls/ntdll/signal_sparc.c b/dlls/ntdll/signal_sparc.c
index 5450402..2952f8e 100644
--- a/dlls/ntdll/signal_sparc.c
+++ b/dlls/ntdll/signal_sparc.c
@@ -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
  */
diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c
index 94b3d3c..7e6c634 100644
--- a/dlls/ntdll/signal_x86_64.c
+++ b/dlls/ntdll/signal_x86_64.c
@@ -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
  */




More information about the wine-cvs mailing list