[Lldb-commits] [lldb] r178367 - 1 breakpoint is a breakpoint not a breakpoints.

Jim Ingham jingham at apple.com
Fri Mar 29 14:01:03 PDT 2013


Author: jingham
Date: Fri Mar 29 16:01:03 2013
New Revision: 178367

URL: http://llvm.org/viewvc/llvm-project?rev=178367&view=rev
Log:
1 breakpoint is a breakpoint not a breakpoints.

rdar://problem/13536544

Modified:
    lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp

Modified: lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp?rev=178367&r1=178366&r2=178367&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp Fri Mar 29 16:01:03 2013
@@ -1674,7 +1674,7 @@ protected:
             else
             {
                 target->RemoveAllBreakpoints ();
-                result.AppendMessageWithFormat ("All breakpoints removed. (%lu breakpoints)\n", num_breakpoints);
+                result.AppendMessageWithFormat ("All breakpoints removed. (%lu %s)\n", num_breakpoints, num_breakpoints > 1 ? "breakpoints" : "breakpoint");
             }
             result.SetStatus (eReturnStatusSuccessFinishNoResult);
         }





More information about the lldb-commits mailing list