summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Breakpoint/Breakpoint.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Breakpoint/Breakpoint.cpp b/lldb/source/Breakpoint/Breakpoint.cpp
index 0709c187b1d..acc1a122911 100644
--- a/lldb/source/Breakpoint/Breakpoint.cpp
+++ b/lldb/source/Breakpoint/Breakpoint.cpp
@@ -420,7 +420,9 @@ Breakpoint::GetDescription (Stream *s, lldb::DescriptionLevel level, bool show_l
break;
}
- 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)
{
s->IndentMore();
for (size_t i = 0; i < num_locations; ++i)
OpenPOWER on IntegriCloud