mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
- 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:
parent
60d07a7af3
commit
044b06829d
1 changed files with 8 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue