Revert r133358 which forgoes printing of breakpoint command when doing a breakpoint list where the description
level is not eDescriptionLevelBrief. It broke test/TestAliases.py. Besides, to have a brief breakpoint list,
you can do "breakpoint list -b".
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133455 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Breakpoint/BreakpointOptions.cpp b/source/Breakpoint/BreakpointOptions.cpp
index 922870b..d623886 100644
--- a/source/Breakpoint/BreakpointOptions.cpp
+++ b/source/Breakpoint/BreakpointOptions.cpp
@@ -309,6 +309,14 @@
}
}
+ if (m_callback_baton_sp.get())
+ {
+ if (level != eDescriptionLevelBrief)
+ {
+ s->EOL();
+ m_callback_baton_sp->GetDescription (s, level);
+ }
+ }
if (m_condition_ap.get())
{
if (level != eDescriptionLevelBrief)