summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/interface/SBFrame.i
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/interface/SBFrame.i')
-rw-r--r--lldb/scripts/interface/SBFrame.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBFrame.i b/lldb/scripts/interface/SBFrame.i
index f36d83c32e1..811f7f22f9b 100644
--- a/lldb/scripts/interface/SBFrame.i
+++ b/lldb/scripts/interface/SBFrame.i
@@ -285,6 +285,7 @@ public:
bool
GetDescription (lldb::SBStream &description);
+#ifdef SWIGPYTHON
%pythoncode %{
def get_all_variables(self):
return self.GetVariables(True,True,True,True)
@@ -355,6 +356,7 @@ public:
reg = property(get_registers_access, None, doc='''A read only property that returns an helper object providing a flattened indexable view of the CPU registers for this stack frame''')
parent = property(get_parent_frame, None, doc='''A read only property that returns the parent (caller) frame of the current frame.''')
%}
+#endif
};
} // namespace lldb
OpenPOWER on IntegriCloud