]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Set the current view point to the breaking CPU if it meets breakpoint.
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 2 Dec 2011 06:07:17 +0000 (06:07 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 2 Dec 2011 06:07:17 +0000 (06:07 +0000)
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

SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.c

index 7d053fadc0144e8eaee0dac5d56ba5073244e7ce..577c6f54c66552576e1c54dfd85e1adecea13ee0 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Multi-Processor support functions implementation.\r
 \r
-  Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -108,6 +108,11 @@ HaltOtherProcessors (
 \r
   mDebugMpContext.BreakAtCpuIndex = CurrentProcessorIndex;\r
 \r
+  //\r
+  // Set the debug viewpoint to the current breaking CPU.\r
+  //\r
+  SetDebugViewPoint (CurrentProcessorIndex);\r
+\r
   //\r
   // Send fixed IPI to other processors.\r
   //\r