- Load debug symbols if compiled with DBG, but don't load if booting with less than 96Mb of RAM.

svn path=/trunk/; revision=39974
This commit is contained in:
Aleksey Bragin 2009-03-12 10:42:45 +00:00
parent 60d07a7af3
commit 044b06829d

View file

@ -692,6 +692,14 @@ KdbInitialize(PKD_DISPATCH_TABLE DispatchTable,
DPRINT("KdbSymInit() BootPhase=%d\n", BootPhase);
LoadSymbols = FALSE;
#ifdef DBG
/* Load symbols only if we have 96Mb of RAM or more */
if (MmNumberOfPhysicalPages >= 0x6000)
LoadSymbols = TRUE;
#endif
if (BootPhase == 0)
{
/* Write out the functions that we support for now */