From 3d4c7abc56de92c99dcf8e4fcfe6353ee2c32299 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Tue, 1 Nov 2011 23:35:05 +0000 Subject: [PATCH] ArmPkg/RvdPeCoffExtraActionLib: Add quotes in RVD command line for RVD under Linux git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12630 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.c b/ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.c index 161ac2dfb2..ecc04acacf 100644 --- a/ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.c +++ b/ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.c @@ -117,7 +117,7 @@ PeCoffLoaderRelocateImageExtraAction ( { CHAR8 Buffer[256]; - AsciiSPrint (Buffer, sizeof(Buffer), "load /a /ni /np %a &0x%08x\n", ImageContext->PdbPointer, (UINTN)(ImageContext->ImageAddress + ImageContext->SizeOfHeaders)); + AsciiSPrint (Buffer, sizeof(Buffer), "load /a /ni /np \"%a\" &0x%08x\n", ImageContext->PdbPointer, (UINTN)(ImageContext->ImageAddress + ImageContext->SizeOfHeaders)); DeCygwinPathIfNeeded (&Buffer[16]); WriteStringToFile (Buffer, AsciiStrSize (Buffer)); @@ -143,7 +143,7 @@ PeCoffLoaderUnloadImageExtraAction ( { CHAR8 Buffer[256]; - AsciiSPrint (Buffer, sizeof(Buffer), "unload symbols_only %a\n", ImageContext->PdbPointer); + AsciiSPrint (Buffer, sizeof(Buffer), "unload symbols_only \"%a\"\n", ImageContext->PdbPointer); DeCygwinPathIfNeeded (Buffer); WriteStringToFile (Buffer, AsciiStrSize (Buffer));