[Lldb-commits] [lldb] r131333 - /lldb/trunk/source/Breakpoint/Breakpoint.cpp
jingham at apple.com
Fri May 13 18:11:02 PDT 2011
Date: Fri May 13 20:11:02 2011
New Revision: 131333
Breakpoint::Description with eDescriptionLevelBrief should just print the number of locations, printing the list of locations is pointless.
--- lldb/trunk/source/Breakpoint/Breakpoint.cpp (original)
+++ lldb/trunk/source/Breakpoint/Breakpoint.cpp Fri May 13 20:11:02 2011
@@ -420,7 +420,9 @@
- if (show_locations)
+ // The brief description is just the location name (1.2 or whatever). That's pointless to
+ // show in the breakpoint's description, so suppress it.
+ if (show_locations && level != lldb::eDescriptionLevelBrief)
for (size_t i = 0; i < num_locations; ++i)
More information about the lldb-commits