crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianDebugLib/Engine/DbgEngine.cs
--- a/crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianDebugLib/Engine/DbgEngine.cs Wed Apr 21 09:51:02 2010 +0300
+++ b/crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianDebugLib/Engine/DbgEngine.cs Fri Aug 27 12:21:46 2010 +0300
@@ -139,12 +139,31 @@
iActiveRomIds.Add(aRomId);
}
+ public void AddSymbolRomId(uint aRomId)
+ {
+ if (!iSymbolRomIds.Contains(aRomId))
+ iSymbolRomIds.Add(aRomId);
+ }
+
+ // Returns true we are decoding files related to this romid
public bool IsActiveRomId(uint aRomId)
{
- return iActiveRomIds.Contains(aRomId);
+ if (iActiveRomIds.Count == 0)
+ return true;
+ else
+ return iActiveRomIds.Contains(aRomId);
}
- public void Prime( TSynchronicity aSynchronicity )
+ // Returns true if this romid needs symbol files
+ public bool IsSymbolDataNeeded(uint aRomId)
+ {
+ if (iSymbolRomIds.Count == 0)
+ return true;
+ else
+ return iSymbolRomIds.Contains(aRomId);
+ }
+
+ public void Prime(TSynchronicity aSynchronicity)
{
if ( EngineOperation != null )
{
@@ -490,6 +509,7 @@
private PlatformIdAllocator iIdAllocator = new PlatformIdAllocator();
private DbgEntityConfig iCurrentConfig = null;
private List<uint> iActiveRomIds = new List<uint>();
+ private List<uint> iSymbolRomIds = new List<uint>();
private bool iVerbose;
#endregion
}