From bb03b8f45d72fd547ba835757bece8d0ae07d150 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Fri, 29 Mar 2013 21:01:03 +0000 Subject: 1 breakpoint is a breakpoint not a breakpoints. rdar://problem/13536544 llvm-svn: 178367 --- lldb/source/Commands/CommandObjectBreakpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Commands') diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp index 4ff7c154298..8625a182bce 100644 --- a/lldb/source/Commands/CommandObjectBreakpoint.cpp +++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp @@ -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); } -- cgit v1.2.1