mirror of
https://github.com/reactos/reactos.git
synced 2026-07-02 23:24:21 +08: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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user