From 6a71eb41e1584895e5182b81864e35ff67addc65 Mon Sep 17 00:00:00 2001
From: "SND\\EreTIk_cp" <SND\EreTIk_cp@9b283d60-5439-405e-af05-b73fd8c4d996>
Date: Wed, 20 Jun 2012 09:49:31 +0000
Subject: [PATCH] [0.1.x] ~ WOW64: get AMD64 context fixed

git-svn-id: https://pykd.svn.codeplex.com/svn@77432 9b283d60-5439-405e-af05-b73fd8c4d996
---
 pykd/context.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pykd/context.cpp b/pykd/context.cpp
index bcfba71..719b92d 100644
--- a/pykd/context.cpp
+++ b/pykd/context.cpp
@@ -116,9 +116,9 @@ void ThreadContext::getAmd64Context()
 ThreadContext::ThreadContext( IDebugClient4 *client ) :
     pykd::DbgObject( client )
 {
-    HRESULT hres = m_control->GetExecutingProcessorType(&m_processorType);
+    HRESULT hres = m_control->GetEffectiveProcessorType(&m_processorType);
     if (S_OK != hres)
-        throw DbgException( "IDebugControl::GetExecutingProcessorType", hres );
+        throw DbgException( "IDebugControl::GetEffectiveProcessorType", hres );
 
     switch (m_processorType)
     {