Simplify the verbose output of WatchpointLocation::DumpWithLevel().


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141307 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Breakpoint/WatchpointLocation.cpp b/source/Breakpoint/WatchpointLocation.cpp
index 01f6189..46f24ca 100644
--- a/source/Breakpoint/WatchpointLocation.cpp
+++ b/source/Breakpoint/WatchpointLocation.cpp
@@ -126,12 +126,18 @@
         s->Printf("\n    declare @ '%s'", m_decl_str.c_str());
 
     if (description_level >= lldb::eDescriptionLevelVerbose)
-        s->Printf("\n    hw_index = %i  hit_count = %-4u  ignore_count = %-4u  callback = %8p baton = %8p",
-                  GetHardwareIndex(),
-                  GetHitCount(),
-                  GetIgnoreCount(),
-                  m_callback,
-                  m_callback_baton);
+        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