Revert r24233, which leads to have the header written too late in debug log and was preventing a crash during the first DbgPrint calls when using GDB

Replace it by another fix (not tested)

svn path=/trunk/; revision=24245
This commit is contained in:
Hervé Poussineau
2006-09-24 07:38:53 +00:00
parent c32cdd8bfb
commit 2abe11c82a
2 changed files with 4 additions and 6 deletions
-1
View File
@@ -77,7 +77,6 @@ KdpGetWrapperDebugMode(PCHAR Currentp2,
/* Get the KDBG Settings and enable it */
KdDebuggerEnabled = TRUE;
KdDebuggerNotPresent = FALSE;
KdpDebugMode.Gdb = TRUE;
KdbpGetCommandLineSettings((PCHAR)LoaderBlock->CommandLine);
#endif
return p2;
+4 -5
View File
@@ -188,14 +188,13 @@ KdpSerialInit(PKD_DISPATCH_TABLE DispatchTable,
/* Register as a Provider */
InsertTailList(&KdProviders, &DispatchTable->KdProvidersList);
/* Display separator + ReactOS version at start of the debug log */
DPRINT1("---------------------------------------------------------------\n");
DPRINT1("ReactOS "KERNEL_VERSION_STR" (Build "KERNEL_VERSION_BUILD_STR")\n");
}
else if (BootPhase == 2)
{
/* Display separator + ReactOS version at start of the debug log */
DbgPrint("---------------------------------------------------------------\n");
DbgPrint("ReactOS "KERNEL_VERSION_STR" (Build "KERNEL_VERSION_BUILD_STR")\n");
DbgPrint("---------------------------------------------------------------\n");
HalDisplayString("\n Serial debugging enabled\n\n");
}
}