diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-11-28 21:39:07 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-11-28 21:39:07 +0000 |
commit | 49cb85db64046f0030134cf4eac27b1dbe02cc2c (patch) | |
tree | bbc3506195df1c8be5a7154df3adc2a7c23ebb70 /lldb/scripts/Python/interface/SBDebugger.i | |
parent | c086f0f91b775b7342ccea87a849474987c39b27 (diff) | |
download | bcm5719-llvm-49cb85db64046f0030134cf4eac27b1dbe02cc2c.tar.gz bcm5719-llvm-49cb85db64046f0030134cf4eac27b1dbe02cc2c.zip |
SBProcess.PutSTDIN() needs to be properly typemapped when swigging,
so that we can do Python scripting like this:
target = self.dbg.CreateTarget(self.exe)
self.dbg.SetAsync(True)
process = target.LaunchSimple(None, None, os.getcwd())
process.PutSTDIN("Line 1 Entered.\n")
process.PutSTDIN("Line 2 Entered.\n")
process.PutSTDIN("Line 3 Entered.\n")
Add TestProcessIO.py to exercise the process IO API: PutSTDIN()/GetSTDOUT()/GetSTDERR().
llvm-svn: 145282
Diffstat (limited to 'lldb/scripts/Python/interface/SBDebugger.i')
0 files changed, 0 insertions, 0 deletions