Added Debugger::GetAsync{Output/Error}Stream, and use it to print parse errors when we go to run a breakpoint condition.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132517 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/Target.cpp b/source/Target/Target.cpp
index b199b05..e5e818c 100644
--- a/source/Target/Target.cpp
+++ b/source/Target/Target.cpp
@@ -1199,12 +1199,8 @@
     if (num_exe_ctx == 0)
         return;
     
-    StreamSP output_stream (new StreamAsynchronousIO (m_debugger.GetCommandInterpreter(),
-                                                      CommandInterpreter::eBroadcastBitAsynchronousOutputData));
-    StreamSP error_stream (new StreamAsynchronousIO (m_debugger.GetCommandInterpreter(),
-                                                     CommandInterpreter::eBroadcastBitAsynchronousErrorData));
-    result.SetImmediateOutputStream (output_stream);
-    result.SetImmediateErrorStream (error_stream);
+    result.SetImmediateOutputStream (m_debugger.GetAsyncOutputStream());
+    result.SetImmediateErrorStream (m_debugger.GetAsyncErrorStream());
     
     bool keep_going = true;
     bool hooks_ran = false;