Remove the Stop Hooks / End Stop Hooks lines before/after running
the stop-hooks. I've been living on lldb with some stop-hooks
defined for the past week and the five extra lines of output on
every stop is really detracting from the usefulness of this feature.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140358 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/Target.cpp b/source/Target/Target.cpp
index 9f9f4a7..19bd7f9 100644
--- a/source/Target/Target.cpp
+++ b/source/Target/Target.cpp
@@ -1651,7 +1651,6 @@
{
if (!hooks_ran)
{
- result.AppendMessage("\n** Stop Hooks **");
hooks_ran = true;
}
if (print_hook_header && !any_thread_matched)
@@ -1686,9 +1685,7 @@
}
}
}
- if (hooks_ran)
- result.AppendMessage ("\n** End Stop Hooks **\n");
-
+
result.GetImmediateOutputStream()->Flush();
result.GetImmediateErrorStream()->Flush();
}