diff options
Diffstat (limited to 'lldb/source/API/SBFrame.cpp')
-rw-r--r-- | lldb/source/API/SBFrame.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lldb/source/API/SBFrame.cpp b/lldb/source/API/SBFrame.cpp index 90952691df0..9e0f35d0a1d 100644 --- a/lldb/source/API/SBFrame.cpp +++ b/lldb/source/API/SBFrame.cpp @@ -394,6 +394,7 @@ SBFrame::GetDescription (SBStream &description) { if (m_opaque_sp) { + description.ref(); m_opaque_sp->Dump (description.get(), true, false); } else @@ -401,12 +402,3 @@ SBFrame::GetDescription (SBStream &description) return true; } - -PyObject * -SBFrame::__repr__ () -{ - SBStream description; - description.ref(); - GetDescription (description); - return PyString_FromString (description.GetData()); -} |