mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[pykd] fixed : hotfix
git-svn-id: https://pykd.svn.codeplex.com/svn@63977 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
016f7f0425
commit
e6af39ec59
@ -11,6 +11,8 @@ public:
|
||||
|
||||
dbgClient()
|
||||
{
|
||||
m_callbacks = NULL;
|
||||
|
||||
IDebugClient4 *client = NULL;
|
||||
DebugCreate( __uuidof(IDebugClient4), (void **)&client );
|
||||
|
||||
|
@ -39,7 +39,10 @@ DbgEventCallbacksManager::DbgEventCallbacksManager( IDebugClient *client )
|
||||
DbgEventCallbacksManager::~DbgEventCallbacksManager()
|
||||
{
|
||||
if ( m_debugClient )
|
||||
{
|
||||
m_debugClient->SetEventCallbacks( NULL );
|
||||
m_debugClient->Release();
|
||||
}
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -473,25 +473,43 @@ DebugExtensionUninitialize()
|
||||
|
||||
DbgExt::DbgExt( IDebugClient4 *masterClient )
|
||||
{
|
||||
client = NULL;
|
||||
masterClient->QueryInterface( __uuidof(IDebugClient), (void **)&client );
|
||||
|
||||
client4 = NULL;
|
||||
masterClient->QueryInterface( __uuidof(IDebugClient4), (void **)&client4 );
|
||||
|
||||
|
||||
|
||||
control = NULL;
|
||||
masterClient->QueryInterface( __uuidof(IDebugControl), (void **)&control );
|
||||
|
||||
control4 = NULL;
|
||||
masterClient->QueryInterface( __uuidof(IDebugControl4), (void **)&control4 );
|
||||
|
||||
registers = NULL;
|
||||
masterClient->QueryInterface( __uuidof(IDebugRegisters), (void **)®isters );
|
||||
|
||||
symbols = NULL;
|
||||
masterClient->QueryInterface( __uuidof(IDebugSymbols), (void ** )&symbols );
|
||||
|
||||
symbols2 = NULL;
|
||||
masterClient->QueryInterface( __uuidof(IDebugSymbols2), (void ** )&symbols2 );
|
||||
|
||||
symbols3 = NULL;
|
||||
masterClient->QueryInterface( __uuidof(IDebugSymbols3), (void ** )&symbols3 );
|
||||
|
||||
dataSpaces = NULL;
|
||||
masterClient->QueryInterface( __uuidof(IDebugDataSpaces), (void **)&dataSpaces );
|
||||
|
||||
dataSpaces4 = NULL;
|
||||
masterClient->QueryInterface( __uuidof(IDebugDataSpaces4), (void **)&dataSpaces4 );
|
||||
|
||||
advanced2 = NULL;
|
||||
masterClient->QueryInterface( __uuidof(IDebugAdvanced2), (void **)&advanced2 );
|
||||
|
||||
system = NULL;
|
||||
masterClient->QueryInterface( __uuidof(IDebugSystemObjects), (void**)&system );
|
||||
|
||||
system2 = NULL;
|
||||
masterClient->QueryInterface( __uuidof(IDebugSystemObjects2), (void**)&system2 );
|
||||
|
||||
m_previosExt = dbgExt;
|
||||
|
Loading…
Reference in New Issue
Block a user