summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectBreakpoint.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2013-03-29 21:01:03 +0000
committerJim Ingham <jingham@apple.com>2013-03-29 21:01:03 +0000
commitbb03b8f45d72fd547ba835757bece8d0ae07d150 (patch)
tree930fcaf888bade5a10cdc17679c64d912ebceecc /lldb/source/Commands/CommandObjectBreakpoint.cpp
parent9c8414f84a2ecd1f86913a0476d6696955690c14 (diff)
downloadbcm5719-llvm-bb03b8f45d72fd547ba835757bece8d0ae07d150.tar.gz
bcm5719-llvm-bb03b8f45d72fd547ba835757bece8d0ae07d150.zip
1 breakpoint is a breakpoint not a breakpoints.
rdar://problem/13536544 llvm-svn: 178367
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpoint.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
OpenPOWER on IntegriCloud