Update BasePeCoff to Initialize the debug field to zero.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8243 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2009-05-06 03:17:45 +00:00
parent 57cca89e0a
commit 1a82ed3d0a
1 changed files with 4 additions and 3 deletions

View File

@ -254,10 +254,11 @@ PeCoffLoaderGetImageInfo (
ImageContext->DestinationAddress = 0; ImageContext->DestinationAddress = 0;
// //
// Initialize the codeview pointer. // Initialize the debug codeview pointer.
// //
ImageContext->CodeView = NULL; ImageContext->DebugDirectoryEntryRva = 0;
ImageContext->PdbPointer = NULL; ImageContext->CodeView = NULL;
ImageContext->PdbPointer = NULL;
// //
// Three cases with regards to relocations: // Three cases with regards to relocations: