Author: sginsberg
Date: Tue Dec 16 09:25:51 2008
New Revision: 38117
URL:
http://svn.reactos.org/svn/reactos?rev=38117&view=rev
Log:
- Remove KeRosDumpStackFrames export and make the call go through KdSystemDebugControl
instead
Modified:
trunk/reactos/ntoskrnl/kd/kdmain.c
trunk/reactos/ntoskrnl/ntoskrnl.pspec
trunk/reactos/subsystems/win32/win32k/objects/gdidbg.c
Modified: trunk/reactos/ntoskrnl/kd/kdmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kd/kdmain.c?rev=3…
==============================================================================
--- trunk/reactos/ntoskrnl/kd/kdmain.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/kd/kdmain.c [iso-8859-1] Tue Dec 16 09:25:51 2008
@@ -89,6 +89,13 @@
default:
break;
}
+ }
+
+ /* Special case for stack frame dumps */
+ case TAG('R', 'o', 's', 'D'):
+ {
+ KeRosDumpStackFrames((PULONG)Buffer1, Buffer1Length);
+ break;
}
#endif
default:
Modified: trunk/reactos/ntoskrnl/ntoskrnl.pspec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ntoskrnl.pspec?re…
==============================================================================
--- trunk/reactos/ntoskrnl/ntoskrnl.pspec [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ntoskrnl.pspec [iso-8859-1] Tue Dec 16 09:25:51 2008
@@ -1030,7 +1030,6 @@
@ stdcall READ_REGISTER_UCHAR(ptr)
@ stdcall READ_REGISTER_ULONG(ptr)
@ stdcall READ_REGISTER_USHORT(ptr)
-@ stdcall KeRosDumpStackFrames(ptr long)
@ stdcall RtlAbsoluteToSelfRelativeSD(ptr ptr ptr)
@ stdcall RtlAddAccessAllowedAce(ptr long long ptr)
@ stdcall RtlAddAccessAllowedAceEx(ptr long long long ptr)
Modified: trunk/reactos/subsystems/win32/win32k/objects/gdidbg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/gdidbg.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/gdidbg.c [iso-8859-1] Tue Dec 16
09:25:51 2008
@@ -1,6 +1,6 @@
#ifdef GDI_DEBUG
-NTSYSAPI VOID APIENTRY KeRosDumpStackFrames(PULONG, ULONG);
+#define KeRosDumpStackFrames(Frames, Count) KdSystemDebugControl(TAG('R',
'o', 's', 'D'), (PVOID)Frames, Count, NULL, 0, NULL, KernelMode)
NTSYSAPI ULONG APIENTRY RtlWalkFrameChain(OUT PVOID *Callers, IN ULONG Count, IN ULONG
Flags);
static int leak_reported = 0;