projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Fix KiDispatchException to unmask KI_EXCEPTION_INTERNAL when setting the exception...
[reactos.git]
/
reactos
/
lib
/
rtl
/
debug.c
diff --git
a/reactos/lib/rtl/debug.c
b/reactos/lib/rtl/debug.c
index
dbcfc1e
..
16d091b
100644
(file)
--- a/
reactos/lib/rtl/debug.c
+++ b/
reactos/lib/rtl/debug.c
@@
-16,21
+16,27
@@
/* PRIVATE FUNCTIONS ********************************************************/
/* PRIVATE FUNCTIONS ********************************************************/
+#if 0
NTSTATUS
NTAPI
DebugPrint(IN PANSI_STRING DebugString,
IN ULONG ComponentId,
IN ULONG Level)
{
NTSTATUS
NTAPI
DebugPrint(IN PANSI_STRING DebugString,
IN ULONG ComponentId,
IN ULONG Level)
{
- return STATUS_SUCCESS;
-
/* Call the INT2D Service */
return DebugService(BREAKPOINT_PRINT,
DebugString->Buffer,
DebugString->Length,
UlongToPtr(ComponentId),
/* Call the INT2D Service */
return DebugService(BREAKPOINT_PRINT,
DebugString->Buffer,
DebugString->Length,
UlongToPtr(ComponentId),
- UlongToPtr(Level));
+ UlongToPtr(Level));
}
}
+#else
+NTSTATUS
+NTAPI
+DebugPrint(IN PANSI_STRING DebugString,
+ IN ULONG ComponentId,
+ IN ULONG Level);
+#endif
NTSTATUS
NTAPI
NTSTATUS
NTAPI
@@
-276,7
+282,7
@@
DbgPrompt(IN PCCH Prompt,
Input.Buffer = Response;
/* Setup the output string */
Input.Buffer = Response;
/* Setup the output string */
- Output.Length = strlen(Prompt);
+ Output.Length = strlen
(Prompt);
Output.Buffer = Prompt;
/* Call the system service */
Output.Buffer = Prompt;
/* Call the system service */
@@
-315,14
+321,14
@@
NTSTATUS
NTAPI
DbgLoadImageSymbols(IN PANSI_STRING Name,
IN PVOID Base,
NTAPI
DbgLoadImageSymbols(IN PANSI_STRING Name,
IN PVOID Base,
- IN ULONG
_PTR
ProcessId)
+ IN ULONG ProcessId)
{
PIMAGE_NT_HEADERS NtHeader;
KD_SYMBOLS_INFO SymbolInfo;
/* Setup the symbol data */
SymbolInfo.BaseOfDll = Base;
{
PIMAGE_NT_HEADERS NtHeader;
KD_SYMBOLS_INFO SymbolInfo;
/* Setup the symbol data */
SymbolInfo.BaseOfDll = Base;
- SymbolInfo.ProcessId = ProcessId;
+ SymbolInfo.ProcessId =
(ULONG)
ProcessId;
/* Get NT Headers */
NtHeader = NULL; //RtlImageNtHeader(Base);
/* Get NT Headers */
NtHeader = NULL; //RtlImageNtHeader(Base);
@@
-344,8
+350,8
@@
DbgLoadImageSymbols(IN PANSI_STRING Name,
}
/*
}
/*
-* @implemented
-*/
+
* @implemented
+
*/
VOID
NTAPI
DbgUnLoadImageSymbols(IN PANSI_STRING Name,
VOID
NTAPI
DbgUnLoadImageSymbols(IN PANSI_STRING Name,
@@
-356,7
+362,7
@@
DbgUnLoadImageSymbols(IN PANSI_STRING Name,
/* Setup the symbol data */
SymbolInfo.BaseOfDll = Base;
/* Setup the symbol data */
SymbolInfo.BaseOfDll = Base;
- SymbolInfo.ProcessId = ProcessId;
+ SymbolInfo.ProcessId =
(ULONG)
ProcessId;
SymbolInfo.CheckSum = SymbolInfo.SizeOfImage = 0;
/* Load the symbols */
SymbolInfo.CheckSum = SymbolInfo.SizeOfImage = 0;
/* Load the symbols */