mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08:00 
			
		
		
		
	EmulatorPkg/Unix/Host: Skip symbol unloading for stripped images
Skip symbol unloading for the PE/COFF images which dont have pdb area when it built in RELEASE MODE. Signed-off-by: Anandh krishna U <anandhkrishnau@ami.com>
This commit is contained in:
		 anandhkrishnau
					anandhkrishnau
				
			
				
					committed by
					
						![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
						parent
						
							e2bb5b530b
						
					
				
				
					commit
					8f57cf0829
				
			| @ -1217,9 +1217,9 @@ GdbScriptRemoveImage ( | ||||
|   FILE  *GdbTempFile; | ||||
|  | ||||
|   // | ||||
|   // Need to skip .PDB files created from VC++ | ||||
|   // Need to skip images which dont have pdb area and .PDB files created from VC++ | ||||
|   // | ||||
|   if (IsPdbFile (ImageContext->PdbPointer)) { | ||||
|   if ((ImageContext->PdbPointer == NULL) || (IsPdbFile (ImageContext->PdbPointer))) { | ||||
|     return; | ||||
|   } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user