added : stackFrame::isInline method

This commit is contained in:
ussrhero 2019-04-29 23:45:12 +03:00
parent 5d57560ec5
commit 877968ca92
2 changed files with 8 additions and 4 deletions

View File

@ -72,6 +72,12 @@ public:
}
static python::tuple findSymbol(kdlib::StackFramePtr& frame);
static bool isInline(kdlib::StackFramePtr& frame)
{
AutoRestorePyState pystate;
return frame->isInline();
}
};
/////////////////////////////////////////////////////////////////////////////////

View File

@ -1117,10 +1117,8 @@ void pykd_init()
"return the function's local variable by it's name")
.def( "switchTo", StackFrameAdapter::switchTo,
"Make this frame a current")
//.def( "isInline", StackFrameAdapter::isInline,
// "this virtual frame of inlined function" )
//.def( "getFunciton", StackFrameAdapter::getFunction,
// "return instance of the typedVar class representing function")
.def( "isInline", StackFrameAdapter::isInline,
"this virtual frame of inlined function" )
.def( "findSymbol", StackFrameAdapter::findSymbol,
"return symbol for frame's instruction pointer")
//.def( "getSourceLine", StackFrameAdapter::getSourceLine,