diff options
author | Caroline Tice <ctice@apple.com> | 2010-09-15 18:29:06 +0000 |
---|---|---|
committer | Caroline Tice <ctice@apple.com> | 2010-09-15 18:29:06 +0000 |
commit | 3f12e8efc1dfefd01998cb863381adb5d29d7cec (patch) | |
tree | 4812b450b1f2fc3e2e204cabbb8cc658e75ed1af /lldb/source/API/SBBreakpoint.cpp | |
parent | 46b96c4ba0b3720d26683e3fc1b7f7aed5c8405a (diff) | |
download | bcm5719-llvm-3f12e8efc1dfefd01998cb863381adb5d29d7cec.tar.gz bcm5719-llvm-3f12e8efc1dfefd01998cb863381adb5d29d7cec.zip |
Remove unnecessary/inappropriate output-printing functions from
the API.
llvm-svn: 113993
Diffstat (limited to 'lldb/source/API/SBBreakpoint.cpp')
-rw-r--r-- | lldb/source/API/SBBreakpoint.cpp | 52 |
1 files changed, 1 insertions, 51 deletions
diff --git a/lldb/source/API/SBBreakpoint.cpp b/lldb/source/API/SBBreakpoint.cpp index 91b159870ca..1e3c7123826 100644 --- a/lldb/source/API/SBBreakpoint.cpp +++ b/lldb/source/API/SBBreakpoint.cpp @@ -108,16 +108,6 @@ SBBreakpoint::IsValid() const } 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 @@ SBBreakpoint::GetLocationAtIndex (uint32_t index) } 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 @@ SBBreakpoint::GetNumLocations() const } 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 @@ SBBreakpoint::GetDescription (FILE *f, const char *description_level, bool descr 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); - } } } |