From: vanjeff Date: Fri, 2 Dec 2011 06:07:17 +0000 (+0000) Subject: Set the current view point to the breaking CPU if it meets breakpoint. X-Git-Tag: edk2-stable201903~13804 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=28c6c8780d9c4d5ec03fe82207f5b27117c842d1 Set the current view point to the breaking CPU if it meets breakpoint. Signed-off-by: vanjeff Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12812 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.c b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.c index 7d053fadc0..577c6f54c6 100644 --- a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.c +++ b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.c @@ -1,7 +1,7 @@ /** @file Multi-Processor support functions implementation. - Copyright (c) 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -108,6 +108,11 @@ HaltOtherProcessors ( mDebugMpContext.BreakAtCpuIndex = CurrentProcessorIndex; + // + // Set the debug viewpoint to the current breaking CPU. + // + SetDebugViewPoint (CurrentProcessorIndex); + // // Send fixed IPI to other processors. //