summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBBreakpoint.cpp
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2010-09-22 23:01:29 +0000
committerCaroline Tice <ctice@apple.com>2010-09-22 23:01:29 +0000
commitdac97f31a38cd97c4c2c0465d8fcd462e7744145 (patch)
tree82035593be20cfb2c47f61ceca4ebe795c0c431e /lldb/source/API/SBBreakpoint.cpp
parenta9424d4f2f9984a05ffe8c29f0c9b3a521829f18 (diff)
downloadbcm5719-llvm-dac97f31a38cd97c4c2c0465d8fcd462e7744145.tar.gz
bcm5719-llvm-dac97f31a38cd97c4c2c0465d8fcd462e7744145.zip
Remove all the __repr__ methods from the API/*.h files, and put them
into python-extensions.swig, which gets included into lldb.swig, and adds them back into the classes when swig generates it's C++ file. This keeps the Python stuff out of the general API classes. Also fixed a small bug in the copy constructor for SBSymbolContext. llvm-svn: 114602
Diffstat (limited to 'lldb/source/API/SBBreakpoint.cpp')
-rw-r--r--lldb/source/API/SBBreakpoint.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/lldb/source/API/SBBreakpoint.cpp b/lldb/source/API/SBBreakpoint.cpp
index aa84575be2e..70a70458b36 100644
--- a/lldb/source/API/SBBreakpoint.cpp
+++ b/lldb/source/API/SBBreakpoint.cpp
@@ -337,7 +337,7 @@ SBBreakpoint::GetDescription (const char *description_level, SBStream &descripti
else
level = eDescriptionLevelBrief;
-
+ description.ref();
m_opaque_sp->GetDescription (description.get(), level);
description.get()->EOL();
}
@@ -347,15 +347,6 @@ SBBreakpoint::GetDescription (const char *description_level, SBStream &descripti
return true;
}
-PyObject *
-SBBreakpoint::__repr__ ()
-{
- SBStream description;
- description.ref();
- GetDescription ("full", description);
- return PyString_FromString (description.GetData());
-}
-
bool
SBBreakpoint::PrivateBreakpointHitCallback
(
OpenPOWER on IntegriCloud