diff options
| author | Jim Ingham <jingham@apple.com> | 2011-06-02 23:58:26 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2011-06-02 23:58:26 +0000 |
| commit | 5b52f0c7850ca0ed5bfab234d18ffa9aa86f2e52 (patch) | |
| tree | d205c0a33ffb0f5af9e1c4d209a86ee388047d5e /lldb/source/Target | |
| parent | 443332deca51d3112bda4536724573de7bf13972 (diff) | |
| download | bcm5719-llvm-5b52f0c7850ca0ed5bfab234d18ffa9aa86f2e52.tar.gz bcm5719-llvm-5b52f0c7850ca0ed5bfab234d18ffa9aa86f2e52.zip | |
Added Debugger::GetAsync{Output/Error}Stream, and use it to print parse errors when we go to run a breakpoint condition.
llvm-svn: 132517
Diffstat (limited to 'lldb/source/Target')
| -rw-r--r-- | lldb/source/Target/Target.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp index b199b05ac1f..e5e818cb295 100644 --- a/lldb/source/Target/Target.cpp +++ b/lldb/source/Target/Target.cpp @@ -1199,12 +1199,8 @@ Target::RunStopHooks () 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; |

