mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 12:24:52 +08:00
[0.1.x] ~ WOW64: get AMD64 context fixed
git-svn-id: https://pykd.svn.codeplex.com/svn@77432 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
7ca77dd104
commit
6a71eb41e1
@ -116,9 +116,9 @@ void ThreadContext::getAmd64Context()
|
|||||||
ThreadContext::ThreadContext( IDebugClient4 *client ) :
|
ThreadContext::ThreadContext( IDebugClient4 *client ) :
|
||||||
pykd::DbgObject( client )
|
pykd::DbgObject( client )
|
||||||
{
|
{
|
||||||
HRESULT hres = m_control->GetExecutingProcessorType(&m_processorType);
|
HRESULT hres = m_control->GetEffectiveProcessorType(&m_processorType);
|
||||||
if (S_OK != hres)
|
if (S_OK != hres)
|
||||||
throw DbgException( "IDebugControl::GetExecutingProcessorType", hres );
|
throw DbgException( "IDebugControl::GetEffectiveProcessorType", hres );
|
||||||
|
|
||||||
switch (m_processorType)
|
switch (m_processorType)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user