[!] changed : debugger routines name made shorter ( step, trace, bp )

git-svn-id: https://pykd.svn.codeplex.com/svn@59200 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2010-12-27 07:32:04 +00:00
parent f087707c2c
commit 37f46bc097

View File

@ -86,8 +86,8 @@ BOOST_PYTHON_FUNCTION_OVERLOADS( compareMemoryOver, compareMemory, 3, 4 )
BOOST_PYTHON_MODULE( pykd ) BOOST_PYTHON_MODULE( pykd )
{ {
boost::python::def( "go", &setExecutionStatus<DEBUG_STATUS_GO> ); boost::python::def( "go", &setExecutionStatus<DEBUG_STATUS_GO> );
boost::python::def( "stepin", &setExecutionStatus<DEBUG_STATUS_STEP_INTO> ); boost::python::def( "trace", &setExecutionStatus<DEBUG_STATUS_STEP_INTO> );
boost::python::def( "stepover", &setExecutionStatus<DEBUG_STATUS_STEP_OVER> ); boost::python::def( "step", &setExecutionStatus<DEBUG_STATUS_STEP_OVER> );
boost::python::def( "createSession", &dbgCreateSession ); boost::python::def( "createSession", &dbgCreateSession );
boost::python::def( "isSessionStart", &dbgIsSessionStart ); boost::python::def( "isSessionStart", &dbgIsSessionStart );
boost::python::def( "symbolsPath", &dbgSymPath ); boost::python::def( "symbolsPath", &dbgSymPath );
@ -153,8 +153,8 @@ BOOST_PYTHON_MODULE( pykd )
.def("name", &dbgModuleClass::getName ) .def("name", &dbgModuleClass::getName )
.def("contain", &dbgModuleClass::contain ); .def("contain", &dbgModuleClass::contain );
boost::python::class_<dbgExtensionClass>( boost::python::class_<dbgExtensionClass>(
"dbgExtensionClass", "ext",
"dbgExtensionClass", "windbg extension",
boost::python::init<const char*>( boost::python::args("path"), "__init__ dbgExtensionClass" ) ) boost::python::init<const char*>( boost::python::args("path"), "__init__ dbgExtensionClass" ) )
.def("call", &dbgExtensionClass::call ); .def("call", &dbgExtensionClass::call );
boost::python::class_<dbgStackFrameClass>( "dbgStackFrameClass", "dbgStackFrameClass" ) boost::python::class_<dbgStackFrameClass>( "dbgStackFrameClass", "dbgStackFrameClass" )
@ -168,8 +168,8 @@ BOOST_PYTHON_MODULE( pykd )
boost::python::class_<dbgIn>( "windbgIn", "windbgIn" ) boost::python::class_<dbgIn>( "windbgIn", "windbgIn" )
.def( "readline", &dbgIn::readline ); .def( "readline", &dbgIn::readline );
boost::python::class_<dbgBreakpointClass>( boost::python::class_<dbgBreakpointClass>(
"dbgBreakpointClass", "bp",
"dbgBreakpointClass", "break point",
boost::python::init<ULONG64>( boost::python::args("offset"), "__init__ dbgBreakpointClass" ) ) boost::python::init<ULONG64>( boost::python::args("offset"), "__init__ dbgBreakpointClass" ) )
.def( "set", &dbgBreakpointClass::set ) .def( "set", &dbgBreakpointClass::set )
.def( "remove", &dbgBreakpointClass::remove ); .def( "remove", &dbgBreakpointClass::remove );