diff options
author | Jim Ingham <jingham@apple.com> | 2011-05-14 01:11:02 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2011-05-14 01:11:02 +0000 |
commit | 1cd466fc021b593f3aa2f675a4c6c23b8420f941 (patch) | |
tree | e5a47c250f446901275747983da95b416fe92d66 /source/Breakpoint | |
parent | 6497f777fc8968523f837621c2f96a802fbe08d3 (diff) | |
download | lldb-1cd466fc021b593f3aa2f675a4c6c23b8420f941.tar.gz |
Breakpoint::Description with eDescriptionLevelBrief should just print the number of locations, printing the list of locations is pointless.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source/Breakpoint')
-rw-r--r-- | source/Breakpoint/Breakpoint.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/Breakpoint/Breakpoint.cpp b/source/Breakpoint/Breakpoint.cpp index 0709c187b..acc1a1229 100644 --- a/source/Breakpoint/Breakpoint.cpp +++ b/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) |