From 9201b0442257953aa4b1e59e9a2a81d85677badd Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Mon, 15 Aug 2011 16:51:11 +0000 Subject: [PATCH] ArmPkg/DebugAgentSymbolsOnlyLib: Fixed switch() statement - missing 'break' This library is used to display the loaded address of the 'Sec' at the early stage of the boot process. The debug command line generated by PeCoffExtraActionLib can be used for Source Level Debugging at the early stage of the UEFI boot process. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12136 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/DebugAgentSymbolsOnlyLib/DebugAgentSymbolsOnlyLib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArmPkg/Library/DebugAgentSymbolsOnlyLib/DebugAgentSymbolsOnlyLib.c b/ArmPkg/Library/DebugAgentSymbolsOnlyLib/DebugAgentSymbolsOnlyLib.c index 807938b703..687a9971ce 100755 --- a/ArmPkg/Library/DebugAgentSymbolsOnlyLib/DebugAgentSymbolsOnlyLib.c +++ b/ArmPkg/Library/DebugAgentSymbolsOnlyLib/DebugAgentSymbolsOnlyLib.c @@ -225,8 +225,10 @@ GetImageContext ( switch (* (UINT32 *) CodeViewEntryPointer) { case CODEVIEW_SIGNATURE_NB10: ImageContext->PdbPointer = (CHAR8 *)CodeViewEntryPointer + sizeof (EFI_IMAGE_DEBUG_CODEVIEW_NB10_ENTRY); + break; case CODEVIEW_SIGNATURE_RSDS: ImageContext->PdbPointer = (CHAR8 *)CodeViewEntryPointer + sizeof (EFI_IMAGE_DEBUG_CODEVIEW_RSDS_ENTRY); + break; case CODEVIEW_SIGNATURE_MTOC: ImageContext->PdbPointer = (CHAR8 *)CodeViewEntryPointer + sizeof (EFI_IMAGE_DEBUG_CODEVIEW_MTOC_ENTRY); break; -- 2.39.2