From 879cf77d12ba77e00b40cf080d4c4ae627c7283b Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Fri, 23 Sep 2011 00:42:55 +0000 Subject: [PATCH] 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. llvm-svn: 140358 --- lldb/source/Target/Target.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp index 9f9f4a7b1cdd..19bd7f9a4eed 100644 --- a/lldb/source/Target/Target.cpp +++ b/lldb/source/Target/Target.cpp @@ -1651,7 +1651,6 @@ Target::RunStopHooks () { if (!hooks_ran) { - result.AppendMessage("\n** Stop Hooks **"); hooks_ran = true; } if (print_hook_header && !any_thread_matched) @@ -1686,9 +1685,7 @@ Target::RunStopHooks () } } } - if (hooks_ran) - result.AppendMessage ("\n** End Stop Hooks **\n"); - + result.GetImmediateOutputStream()->Flush(); result.GetImmediateErrorStream()->Flush(); }