mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
4705b7da4b
commit
e748229889
|
@ -86,7 +86,7 @@ PeCoffLoaderRelocateImageExtraAction (
|
||||||
// This may not work correctly if you generate PE/COFF directlyas then the Offset would not be required
|
// 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)));
|
DEBUG ((EFI_D_ERROR, "add-symbol-file %a 0x%08x\n", DeCygwinPathIfNeeded (ImageContext->PdbPointer, Temp, sizeof (Temp)), (UINTN)(ImageContext->ImageAddress + ImageContext->SizeOfHeaders)));
|
||||||
#else
|
#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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,12 +113,12 @@ PeCoffLoaderUnloadImageExtraAction (
|
||||||
#ifdef __CC_ARM
|
#ifdef __CC_ARM
|
||||||
{
|
{
|
||||||
// Print out the command for the RVD debugger to load symbols for this image
|
// 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__
|
#elif __GNUC__
|
||||||
// This may not work correctly if you generate PE/COFF directlyas then the Offset would not be required
|
// 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)));
|
DEBUG ((EFI_D_ERROR, "remove-symbol-file %a 0x%08x\n", DeCygwinPathIfNeeded (ImageContext->PdbPointer, Temp, sizeof (Temp)), (UINTN)(ImageContext->ImageAddress + ImageContext->SizeOfHeaders)));
|
||||||
#else
|
#else
|
||||||
DEBUG ((EFI_D_ERROR, "Unloading %a", ImageContext->PdbPointer));
|
DEBUG ((EFI_D_ERROR, "Unloading %a\n", ImageContext->PdbPointer));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -143,7 +143,7 @@ PeCoffLoaderUnloadImageExtraAction (
|
||||||
{
|
{
|
||||||
CHAR8 Buffer[256];
|
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);
|
DeCygwinPathIfNeeded (Buffer);
|
||||||
|
|
||||||
WriteStringToFile (Buffer, AsciiStrSize (Buffer));
|
WriteStringToFile (Buffer, AsciiStrSize (Buffer));
|
||||||
|
|
Loading…
Reference in New Issue