mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 04:13:22 +08:00
[0.2.x] fixed : win32 build
git-svn-id: https://pykd.svn.codeplex.com/svn@79986 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
642bb01c57
commit
3a4a5400b8
@ -63,8 +63,6 @@ void getStackTrace(std::vector<STACK_FRAME_DESC> &frames);
|
|||||||
|
|
||||||
// callback events
|
// callback events
|
||||||
|
|
||||||
#define DEBUG_CALLBACK_METHODTYPE __cdecl
|
|
||||||
|
|
||||||
enum DEBUG_CALLBACK_RESULT {
|
enum DEBUG_CALLBACK_RESULT {
|
||||||
DebugCallbackProceed = 0,
|
DebugCallbackProceed = 0,
|
||||||
DebugCallbackNoChange = 1,
|
DebugCallbackNoChange = 1,
|
||||||
@ -75,7 +73,7 @@ enum DEBUG_CALLBACK_RESULT {
|
|||||||
|
|
||||||
struct DEBUG_EVENT_CALLBACK {
|
struct DEBUG_EVENT_CALLBACK {
|
||||||
|
|
||||||
virtual DEBUG_CALLBACK_RESULT DEBUG_CALLBACK_METHODTYPE OnBreakpoint( ULONG bpId ) = 0;
|
virtual DEBUG_CALLBACK_RESULT OnBreakpoint( ULONG bpId ) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
void eventRegisterCallbacks( const DEBUG_EVENT_CALLBACK *callbacks );
|
void eventRegisterCallbacks( const DEBUG_EVENT_CALLBACK *callbacks );
|
||||||
|
@ -23,7 +23,7 @@ EventHandler::~EventHandler()
|
|||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
DEBUG_CALLBACK_RESULT DEBUG_CALLBACK_METHODTYPE EventHandlerImpl::OnBreakpoint( ULONG bpId )
|
DEBUG_CALLBACK_RESULT EventHandlerImpl::OnBreakpoint( ULONG bpId )
|
||||||
{
|
{
|
||||||
BpMap::iterator foundIt = m_bpMap.find( bpId );
|
BpMap::iterator foundIt = m_bpMap.find( bpId );
|
||||||
if ( foundIt == m_bpMap.end() )
|
if ( foundIt == m_bpMap.end() )
|
||||||
|
@ -21,7 +21,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
virtual DEBUG_CALLBACK_RESULT DEBUG_CALLBACK_METHODTYPE OnBreakpoint( ULONG bpId ) = 0;
|
virtual DEBUG_CALLBACK_RESULT OnBreakpoint( ULONG bpId ) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////
|
||||||
@ -32,7 +32,7 @@ class EventHandlerWrap : public python::wrapper<EventHandler>, public EventHandl
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
virtual DEBUG_CALLBACK_RESULT DEBUG_CALLBACK_METHODTYPE OnBreakpoint( ULONG Id ) {
|
virtual DEBUG_CALLBACK_RESULT OnBreakpoint( ULONG Id ) {
|
||||||
return handler("onBreakpoint", Id);
|
return handler("onBreakpoint", Id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
virtual DEBUG_CALLBACK_RESULT DEBUG_CALLBACK_METHODTYPE OnBreakpoint( ULONG bpId );
|
virtual DEBUG_CALLBACK_RESULT OnBreakpoint( ULONG bpId );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user