summaryrefslogtreecommitdiffstats
path: root/lldb/source/Breakpoint
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2017-09-15 00:52:35 +0000
committerJim Ingham <jingham@apple.com>2017-09-15 00:52:35 +0000
commite9632ebab351b55cd0d400752288db7461bb2af4 (patch)
tree1baed7642b804b1cbedfb06d6979401a49785f0a /lldb/source/Breakpoint
parent247b3c1f482427962dd921af868a050c95d47db7 (diff)
downloadbcm5719-llvm-e9632ebab351b55cd0d400752288db7461bb2af4.tar.gz
bcm5719-llvm-e9632ebab351b55cd0d400752288db7461bb2af4.zip
Wire up the breakpoint name help string.
llvm-svn: 313327
Diffstat (limited to 'lldb/source/Breakpoint')
-rw-r--r--lldb/source/Breakpoint/BreakpointName.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Breakpoint/BreakpointName.cpp b/lldb/source/Breakpoint/BreakpointName.cpp
index 7b9a2acfbc4..be4710d7849 100644
--- a/lldb/source/Breakpoint/BreakpointName.cpp
+++ b/lldb/source/Breakpoint/BreakpointName.cpp
@@ -60,6 +60,9 @@ bool BreakpointName::Permissions::GetDescription(Stream *s,
bool BreakpointName::GetDescription(Stream *s, lldb::DescriptionLevel level) {
bool printed_any = false;
+ if (!m_help.empty())
+ s->Printf("Help: %s\n", m_help.c_str());
+
if (GetOptions().AnySet())
{
s->PutCString("Options: \n");
OpenPOWER on IntegriCloud