MdeModulePkg/ImagePropertiesRecordLib: Reduce debug level

The presense of PdbPointer (PDB file name) is not an error. Hence, the
debug message should be categorized as VERBOSE or INFO. However, the
DEBUG_VERBOSE is more appropriate since the PDB file name is already
output by the PeCoffLoaderRelocateImageExtraAction() function with the
inline "add-symbol-file" when a platform uses the library instance
DebugPeCoffExtraActionLib.

Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
This commit is contained in:
Nhi Pham 2024-06-24 12:22:52 +07:00 committed by mergify[bot]
parent dc002d4f2d
commit 89377ece8f
1 changed files with 1 additions and 1 deletions

View File

@ -1052,7 +1052,7 @@ CreateImagePropertiesRecord (
PdbPointer = PeCoffLoaderGetPdbPointer ((VOID *)(UINTN)ImageBase);
if (PdbPointer != NULL) {
DEBUG ((DEBUG_ERROR, " Image - %a\n", PdbPointer));
DEBUG ((DEBUG_VERBOSE, " Image - %a\n", PdbPointer));
}
// Check PE/COFF image