diff options
author | Jim Ingham <jingham@apple.com> | 2011-02-19 02:53:09 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2011-02-19 02:53:09 +0000 |
commit | 85e8b8149243052c721c97ad97ebda82867071a4 (patch) | |
tree | 25a82ef1308098b9affee9a484358d849764580f /lldb/source/Commands/CommandObjectMultiword.cpp | |
parent | 21f347e7296e9aeda3a6880fb576cf01f85d8de7 (diff) | |
download | bcm5719-llvm-85e8b8149243052c721c97ad97ebda82867071a4.tar.gz bcm5719-llvm-85e8b8149243052c721c97ad97ebda82867071a4.zip |
- Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting
a Stream, and then added GetOutputData & GetErrorData to get the accumulated data.
- Added a StreamTee that will tee output to two provided lldb::StreamSP's.
- Made the CommandObjectReturn use this so you can Tee the results immediately to
the debuggers output file, as well as saving up the results to return when the command
is done executing.
- HandleCommands now uses this so that if you have a set of commands that continue the target
you will see the commands come out as they are processed.
- The Driver now uses this to output the command results as you go, which makes the interface
more reactive seeming.
llvm-svn: 126015
Diffstat (limited to 'lldb/source/Commands/CommandObjectMultiword.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectMultiword.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectMultiword.cpp b/lldb/source/Commands/CommandObjectMultiword.cpp index db500a7f66c..e5435fc648a 100644 --- a/lldb/source/Commands/CommandObjectMultiword.cpp +++ b/lldb/source/Commands/CommandObjectMultiword.cpp @@ -187,7 +187,7 @@ CommandObjectMultiword::GenerateHelpText (CommandReturnObject &result) // First time through here, generate the help text for the object and // push it to the return result object as well - StreamString &output_stream = result.GetOutputStream(); + Stream &output_stream = result.GetOutputStream(); output_stream.PutCString ("The following subcommands are supported:\n\n"); CommandMap::iterator pos; |