Commit 877968ca authored by ussrhero's avatar ussrhero
Browse files

added : stackFrame::isInline method

parent 5d57560e
......@@ -72,6 +72,12 @@ public:
}
static python::tuple findSymbol(kdlib::StackFramePtr& frame);
static bool isInline(kdlib::StackFramePtr& frame)
{
AutoRestorePyState pystate;
return frame->isInline();
}
};
/////////////////////////////////////////////////////////////////////////////////
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment