summaryrefslogtreecommitdiffstats
path: root/lldb/source/Breakpoint/Watchpoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Breakpoint/Watchpoint.cpp')
-rw-r--r--lldb/source/Breakpoint/Watchpoint.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Breakpoint/Watchpoint.cpp b/lldb/source/Breakpoint/Watchpoint.cpp
index ae2cdd92121..02ae8b8b4bc 100644
--- a/lldb/source/Breakpoint/Watchpoint.cpp
+++ b/lldb/source/Breakpoint/Watchpoint.cpp
@@ -129,18 +129,24 @@ Watchpoint::DumpWithLevel(Stream *s, lldb::DescriptionLevel description_level) c
}
if (description_level >= lldb::eDescriptionLevelVerbose)
+ {
if (m_callback)
+ {
s->Printf("\n hw_index = %i hit_count = %-4u ignore_count = %-4u callback = %8p baton = %8p",
GetHardwareIndex(),
GetHitCount(),
GetIgnoreCount(),
m_callback,
m_callback_baton);
+ }
else
+ {
s->Printf("\n hw_index = %i hit_count = %-4u ignore_count = %-4u",
GetHardwareIndex(),
GetHitCount(),
GetIgnoreCount());
+ }
+ }
}
bool
OpenPOWER on IntegriCloud