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
This commit is contained in:
oliviermartin 2011-11-01 23:35:05 +00:00
parent 7755dfd3a5
commit 3d4c7abc56
1 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ PeCoffLoaderRelocateImageExtraAction (
{ {
CHAR8 Buffer[256]; 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]); DeCygwinPathIfNeeded (&Buffer[16]);
WriteStringToFile (Buffer, AsciiStrSize (Buffer)); WriteStringToFile (Buffer, AsciiStrSize (Buffer));
@ -143,7 +143,7 @@ PeCoffLoaderUnloadImageExtraAction (
{ {
CHAR8 Buffer[256]; 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); DeCygwinPathIfNeeded (Buffer);
WriteStringToFile (Buffer, AsciiStrSize (Buffer)); WriteStringToFile (Buffer, AsciiStrSize (Buffer));