[Lldb-commits] [lldb] r133455 - /lldb/trunk/source/Breakpoint/BreakpointOptions.cpp

Johnny Chen johnny.chen at apple.com
Mon Jun 20 11:59:49 PDT 2011


Author: johnny
Date: Mon Jun 20 13:59:49 2011
New Revision: 133455

URL: http://llvm.org/viewvc/llvm-project?rev=133455&view=rev
Log:
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".

Modified:
    lldb/trunk/source/Breakpoint/BreakpointOptions.cpp

Modified: lldb/trunk/source/Breakpoint/BreakpointOptions.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Breakpoint/BreakpointOptions.cpp?rev=133455&r1=133454&r2=133455&view=diff
==============================================================================
--- lldb/trunk/source/Breakpoint/BreakpointOptions.cpp (original)
+++ lldb/trunk/source/Breakpoint/BreakpointOptions.cpp Mon Jun 20 13:59:49 2011
@@ -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)





More information about the lldb-commits mailing list