From e74822988971397f4160972ce003c87225d834df Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Fri, 3 Jun 2011 09:26:44 +0000 Subject: [PATCH] ArmPkg/PeCoffExtraActionLib: Add the return carriage character after printing the debugger command lines git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11741 6f19259b-4bc3-4df7-8a09-765794883524 --- .../DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.c | 6 +++--- .../RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.c b/ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.c index 5bd1a9d188..4b95bdf54c 100755 --- a/ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.c +++ b/ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.c @@ -86,7 +86,7 @@ PeCoffLoaderRelocateImageExtraAction ( // This may not work correctly if you generate PE/COFF directlyas then the Offset would not be required DEBUG ((EFI_D_ERROR, "add-symbol-file %a 0x%08x\n", DeCygwinPathIfNeeded (ImageContext->PdbPointer, Temp, sizeof (Temp)), (UINTN)(ImageContext->ImageAddress + ImageContext->SizeOfHeaders))); #else - DEBUG ((EFI_D_ERROR, "Loading driver at 0x%11p EntryPoint=0x%11p ", (VOID *)(UINTN) ImageContext->ImageAddress, FUNCTION_ENTRY_POINT (ImageContext->EntryPoint))); + DEBUG ((EFI_D_ERROR, "Loading driver at 0x%11p EntryPoint=0x%11p\n", (VOID *)(UINTN) ImageContext->ImageAddress, FUNCTION_ENTRY_POINT (ImageContext->EntryPoint))); #endif } @@ -113,12 +113,12 @@ PeCoffLoaderUnloadImageExtraAction ( #ifdef __CC_ARM { // Print out the command for the RVD debugger to load symbols for this image - DEBUG ((EFI_D_ERROR, "unload symbols_only %a", DeCygwinPathIfNeeded (ImageContext->PdbPointer, Temp, sizeof (Temp)))); + DEBUG ((EFI_D_ERROR, "unload symbols_only %a\n", DeCygwinPathIfNeeded (ImageContext->PdbPointer, Temp, sizeof (Temp)))); } #elif __GNUC__ // This may not work correctly if you generate PE/COFF directlyas then the Offset would not be required DEBUG ((EFI_D_ERROR, "remove-symbol-file %a 0x%08x\n", DeCygwinPathIfNeeded (ImageContext->PdbPointer, Temp, sizeof (Temp)), (UINTN)(ImageContext->ImageAddress + ImageContext->SizeOfHeaders))); #else - DEBUG ((EFI_D_ERROR, "Unloading %a", ImageContext->PdbPointer)); + DEBUG ((EFI_D_ERROR, "Unloading %a\n", ImageContext->PdbPointer)); #endif } diff --git a/ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.c b/ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.c index 575c307157..531cfa1e7b 100644 --- a/ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.c +++ b/ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.c @@ -143,7 +143,7 @@ PeCoffLoaderUnloadImageExtraAction ( { CHAR8 Buffer[256]; - AsciiSPrint (Buffer, sizeof(Buffer), "unload symbols_only %a", ImageContext->PdbPointer); + AsciiSPrint (Buffer, sizeof(Buffer), "unload symbols_only %a\n", ImageContext->PdbPointer); DeCygwinPathIfNeeded (Buffer); WriteStringToFile (Buffer, AsciiStrSize (Buffer)); -- 2.39.2