mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user