From dd6f7d02a1dd51e33e92e6935e72fff464132588 Mon Sep 17 00:00:00 2001 From: andrewfish Date: Thu, 15 Dec 2011 22:26:15 +0000 Subject: Add a PcdEmulatorLazyLoadSymbols that allows non-lazy symbol loading. The problem with lazy symbol loading is it only happens after you hit a breakpoint. This means you can't add breakpoints from the GUI and have them hit, this requires symbols being loaded as modules load so the breakpoints can get resolved. Added arguments to SecGdbScriptBreak() to enable lldb python symbol load/unload script. signed-off-by:andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12879 6f19259b-4bc3-4df7-8a09-765794883524 --- EmulatorPkg/EmulatorPkg.dec | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'EmulatorPkg/EmulatorPkg.dec') diff --git a/EmulatorPkg/EmulatorPkg.dec b/EmulatorPkg/EmulatorPkg.dec index f005c792cc..b3d461de37 100644 --- a/EmulatorPkg/EmulatorPkg.dec +++ b/EmulatorPkg/EmulatorPkg.dec @@ -48,6 +48,10 @@ gEmuVirtualDisksGuid = { 0xf2ba331a, 0x8985, 0x11db, { 0xa4, 0x06, 0x00, 0x40, 0xd0, 0x2b, 0x18, 0x35 } } gEmuPhysicalDisksGuid = { 0xf2bdcc96, 0x8985, 0x11db, { 0x87, 0x19, 0x00, 0x40, 0xd0, 0x2b, 0x18, 0x35 } } +[PcdsFeatureFlag] + ## If TRUE, if symbols only load on breakpoints and gdb entry + gEmulatorPkgTokenSpaceGuid.PcdEmulatorLazyLoadSymbols|TRUE|BOOLEAN|0x00020000 + [PcdsFixedAtBuild] gEmulatorPkgTokenSpaceGuid.PcdEmuFlashNvStorageVariableBase|0x0|UINT64|0x00001014 gEmulatorPkgTokenSpaceGuid.PcdEmuFlashNvStorageFtwSpareBase|0x0|UINT64|0x00001015 -- cgit v1.2.3