From: Andrew F. <af...@ap...> - 2014-07-08 15:54:21
|
I ran into some 3rd party INF files that use mixed case for the FILE_GUID and this was confusing my debugger Python scripts. I think it is better for the Guid.xref file to output the GUID strings in upper case. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Andrew Fish <and...@ap...> Index: Source/Python/GenFds/GenFds.py =================================================================== --- Source/Python/GenFds/GenFds.py (revision 2670) +++ Source/Python/GenFds/GenFds.py (working copy) @@ -517,7 +517,7 @@ PlatformDataBase = BuildDb.BuildObject[GenFdsGlobalVariable.ActivePlatform, Arch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag] for ModuleFile in PlatformDataBase.Modules: Module = BuildDb.BuildObject[ModuleFile, Arch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag] - GuidXRefFile.write("%s %s\n" % (Module.Guid, Module.BaseName)) + GuidXRefFile.write("%s %s\n" % (Module.Guid.upper(), Module.BaseName)) for key, item in Module.Protocols.items(): GuidDict[key] = item for key, item in Module.Guids.items(): Thanks, Andrew Fish |