SBDebugger::SetInputFile, SetOutputFile, etc.
authorLawrence D'Anna <lawrence_danna@apple.com>
Thu, 3 Oct 2019 04:04:48 +0000 (04:04 +0000)
committerLawrence D'Anna <lawrence_danna@apple.com>
Thu, 3 Oct 2019 04:04:48 +0000 (04:04 +0000)
commit96898eb6a935533aaebbfbd085150fbf705c0ffc
tree810c11bdcc946df6b525a243f65b19d9c59ce9d0
parent5750453020926ce270aee38bd5eb7f0ff3467237
SBDebugger::SetInputFile, SetOutputFile, etc.

Summary:
Add new methods to SBDebugger to set IO files as SBFiles instead of
as FILE* streams.

In future commits, the FILE* methods will be deprecated and these
will become the primary way to set the debugger I/O streams.

Reviewers: JDevlieghere, jasonmolenda, labath

Reviewed By: labath

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D68181

llvm-svn: 373563
lldb/include/lldb/API/SBDebugger.h
lldb/include/lldb/API/SBFile.h
lldb/include/lldb/Core/Debugger.h
lldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
lldb/scripts/interface/SBDebugger.i
lldb/source/API/SBDebugger.cpp
lldb/source/API/SBFile.cpp
lldb/source/Core/Debugger.cpp
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp