llvm-project/lldb/scripts/Python
Johnny Chen 49cb85db64 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
2011-11-28 21:39:07 +00:00
..
interface SBProcess.PutSTDIN() needs to be properly typemapped when swigging, 2011-11-28 21:39:07 +00:00
build-swig-Python.sh Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
edit-swig-python-wrapper-file.py Fix remaining Python issues leftover from my previous patch. 2011-06-01 02:33:12 +00:00
finish-swig-Python-LLDB.sh Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
modify-python-lldb.py Add a missing ')' in the comment. 2011-11-08 23:08:03 +00:00
python-extensions.swig <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
python-typemaps.swig SBProcess.PutSTDIN() needs to be properly typemapped when swigging, 2011-11-28 21:39:07 +00:00
python-wrapper.swig this patch introduces a new command script import command which takes as input a filename for a Python script and imports the module contained in that file. the containing directory is added to the Python path such that dependencies are honored. also, the module may contain an __lldb_init_module(debugger,dict) function, which gets called after importing, and which can somehow initialize the module's interaction with lldb 2011-10-17 21:45:27 +00:00