summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-06-02 23:58:26 +0000
committerJim Ingham <jingham@apple.com>2011-06-02 23:58:26 +0000
commit5b52f0c7850ca0ed5bfab234d18ffa9aa86f2e52 (patch)
treed205c0a33ffb0f5af9e1c4d209a86ee388047d5e /lldb/source/Commands/CommandObjectBreakpointCommand.cpp
parent443332deca51d3112bda4536724573de7bf13972 (diff)
downloadbcm5719-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/Commands/CommandObjectBreakpointCommand.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpointCommand.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
index f047555bce7..b452dbc5106 100644
--- a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
@@ -803,10 +803,8 @@ CommandObjectBreakpointCommand::BreakpointOptionsCallbackFunction
// Rig up the results secondary output stream to the debugger's, so the output will come out synchronously
// if the debugger is set up that way.
- StreamSP output_stream (new StreamAsynchronousIO (debugger.GetCommandInterpreter(),
- CommandInterpreter::eBroadcastBitAsynchronousOutputData));
- StreamSP error_stream (new StreamAsynchronousIO (debugger.GetCommandInterpreter(),
- CommandInterpreter::eBroadcastBitAsynchronousErrorData));
+ StreamSP output_stream (debugger.GetAsyncOutputStream());
+ StreamSP error_stream (debugger.GetAsyncErrorStream());
result.SetImmediateOutputStream (output_stream);
result.SetImmediateErrorStream (error_stream);
OpenPOWER on IntegriCloud