Remove unnecessary/inappropriate output-printing functions from
the API.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113993 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBBreakpoint.cpp b/source/API/SBBreakpoint.cpp
index 91b1598..1e3c712 100644
--- a/source/API/SBBreakpoint.cpp
+++ b/source/API/SBBreakpoint.cpp
@@ -108,16 +108,6 @@
}
void
-SBBreakpoint::Dump (FILE *f)
-{
- if (m_opaque_sp && f)
- {
- lldb_private::StreamFile str (f);
- m_opaque_sp->Dump (&str);
- }
-}
-
-void
SBBreakpoint::ClearAllBreakpointSites ()
{
if (m_opaque_sp)
@@ -192,34 +182,6 @@
}
void
-SBBreakpoint::ListLocations (FILE* f, const char *description_level)
-{
- if (m_opaque_sp && f)
- {
- DescriptionLevel level;
- if (strcmp (description_level, "brief") == 0)
- level = eDescriptionLevelBrief;
- else if (strcmp (description_level, "full") == 0)
- level = eDescriptionLevelFull;
- else if (strcmp (description_level, "verbose") == 0)
- level = eDescriptionLevelVerbose;
- else
- level = eDescriptionLevelBrief;
-
- StreamFile str (f);
-
- str.IndentMore();
- int num_locs = m_opaque_sp->GetNumLocations();
- for (int i = 0; i < num_locs; ++i)
- {
- BreakpointLocation *loc = m_opaque_sp->GetLocationAtIndex (i).get();
- loc->GetDescription (&str, level);
- str.EOL();
- }
- }
-}
-
-void
SBBreakpoint::SetEnabled (bool enable)
{
if (m_opaque_sp)
@@ -360,7 +322,7 @@
}
void
-SBBreakpoint::GetDescription (FILE *f, const char *description_level, bool describe_locations)
+SBBreakpoint::GetDescription (FILE *f, const char *description_level)
{
if (f == NULL)
return;
@@ -381,18 +343,6 @@
m_opaque_sp->GetDescription (&str, level);
str.EOL();
- if (describe_locations)
- {
- //str.IndentMore();
- // int num_locs = m_opaque_sp->GetNumLocations();
- // for (int i = 0; i < num_locs; ++i)
- // {
- // BreakpointLocation *loc = m_opaque_sp->FindLocationByIndex (i);
- // loc->GetDescription (&str, level);
- // str.EOL();
- // }
- ListLocations (f, description_level);
- }
}
}