]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.c
ArmPkg/PeCoffExtraActionLib: Add the return carriage character after printing the...
[mirror_edk2.git] / ArmPkg / Library / DebugPeCoffExtraActionLib / DebugPeCoffExtraActionLib.c
index 5bd1a9d1883d058a83aedb74d37e8aa57859b903..4b95bdf54c5df303383e665d9e09f66d1196df36 100755 (executable)
@@ -86,7 +86,7 @@ PeCoffLoaderRelocateImageExtraAction (
   // This may not work correctly if you generate PE/COFF directlyas then the Offset would not be required\r
   DEBUG ((EFI_D_ERROR, "add-symbol-file %a 0x%08x\n", DeCygwinPathIfNeeded (ImageContext->PdbPointer, Temp, sizeof (Temp)), (UINTN)(ImageContext->ImageAddress + ImageContext->SizeOfHeaders)));\r
 #else\r
-  DEBUG ((EFI_D_ERROR, "Loading driver at 0x%11p EntryPoint=0x%11p ", (VOID *)(UINTN) ImageContext->ImageAddress, FUNCTION_ENTRY_POINT (ImageContext->EntryPoint)));\r
+  DEBUG ((EFI_D_ERROR, "Loading driver at 0x%11p EntryPoint=0x%11p\n", (VOID *)(UINTN) ImageContext->ImageAddress, FUNCTION_ENTRY_POINT (ImageContext->EntryPoint)));\r
 #endif\r
 }\r
 \r
@@ -113,12 +113,12 @@ PeCoffLoaderUnloadImageExtraAction (
 #ifdef __CC_ARM\r
   {  \r
   // Print out the command for the RVD debugger to load symbols for this image\r
-    DEBUG ((EFI_D_ERROR, "unload symbols_only %a", DeCygwinPathIfNeeded (ImageContext->PdbPointer, Temp, sizeof (Temp))));\r
+    DEBUG ((EFI_D_ERROR, "unload symbols_only %a\n", DeCygwinPathIfNeeded (ImageContext->PdbPointer, Temp, sizeof (Temp))));\r
   }\r
 #elif __GNUC__\r
   // This may not work correctly if you generate PE/COFF directlyas then the Offset would not be required\r
   DEBUG ((EFI_D_ERROR, "remove-symbol-file %a 0x%08x\n", DeCygwinPathIfNeeded (ImageContext->PdbPointer, Temp, sizeof (Temp)), (UINTN)(ImageContext->ImageAddress + ImageContext->SizeOfHeaders)));\r
 #else\r
-  DEBUG ((EFI_D_ERROR, "Unloading %a", ImageContext->PdbPointer));\r
+  DEBUG ((EFI_D_ERROR, "Unloading %a\n", ImageContext->PdbPointer));\r
 #endif\r
 }\r