aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/buildSwigPython.py
AgeCommit message (Collapse)AuthorFilesLines
2015-10-19Run py2to3 on lldb/scripts folder.Zachary Turner1-3/+3
This mostly fixes some print statements, but there were also some instances of dict.iteritems() lingering that this found. llvm-svn: 250762
2015-10-06Update swig generation scripts to support Python 3.Zachary Turner1-28/+28
llvm-svn: 249467
2015-04-28Add language option in -gdb-show command (MI)Ilia K1-0/+2
Summary: Add language option in -gdb-show command + test: ``` $ bin/lldb-mi ~/p/hello [...] b main [...] r [...] (gdb) -gdb-show language ^done,value="c++" (gdb) quit ``` Test Plan: ./dotest.py -v --executable $BUILDDIR/bin/lldb tools/lldb-mi/ Reviewers: abidh, granata.enrico, jingham, clayborg Reviewed By: clayborg Subscribers: lldb-commits, jingham, granata.enrico, clayborg, abidh Differential Revision: http://reviews.llvm.org/D9279 llvm-svn: 235983
2015-04-26Add SBLaunchInfo in include/lldb/API/SBDefines.h and fix spacing in ↵Ilia K1-2/+2
scripts/Python/buildSwigPython.py llvm-svn: 235819
2015-04-24Start to share SWIG interface files between languages.Bruce Mitchener1-47/+47
Summary: Move scripts/Python/interface to scripts/interface so that we can start making iterative improvements towards sharing the interface files between multiple languages (each of which would have their own directory as now). Test Plan: Build and see. Reviewers: zturner, emaste, clayborg Reviewed By: clayborg Subscribers: mjsabby, lldb-commits Differential Revision: http://reviews.llvm.org/D9212 llvm-svn: 235676
2015-03-23Remove non-standard Environment header sectionEd Maste1-5/+0
llvm-svn: 232973
2015-02-26[swig] Fix some typos in the build scripts.Bruce Mitchener1-2/+2
Reviewers: zturner, ki.stfu Reviewed By: zturner, ki.stfu Subscribers: ki.stfu, lldb-commits Differential Revision: http://reviews.llvm.org/D7912 llvm-svn: 230706
2015-02-16Extract SBAttachInfo into own set of files - SBAttachInfo.h, ↵Oleksiy Vyalov1-0/+2
SBAttachInfo.cpp and SBAttachInfo.i. llvm-svn: 229346
2015-02-15os.remove shouldn't fail, if file doesn't existIsmail Pazarbasi1-2/+14
Summary: os.remove might throw an exception (of type OSError), if given file doesn't exist. Catch the exception, and ignore it //iff// errno is ENOENT. Rethrow the exception, if errno is not ENOENT. Reviewers: emaste Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6362 llvm-svn: 229334
2015-02-04Extend SBPlatform with capability to launch/terminate a process remotely. ↵Oleksiy Vyalov1-0/+2
Integrate this change into test framework in order to spawn processes on a remote target. http://reviews.llvm.org/D7263 llvm-svn: 228230
2014-09-06Expose ThreadCollection in SB APIKuba Brecka1-0/+2
Reviewed at http://reviews.llvm.org/D5218 and http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140901/012828.html llvm-svn: 217296
2014-08-02Make the swig generation script use the correct python executable.Zachary Turner1-1/+2
It was hardcoding the value "python", which will end up at best getting a different python executable (if the user has overridden the value of PYTHON_EXECUTABLE), and at worst encountering an error (if there is no copy of python on the system path). This patch changes the script to use sys.executable so that it runs the sub-script with the same executable that it was run with. llvm-svn: 214618
2014-07-01This creates a valid Python API for Windows, pending some issues. The ↵Deepak Panickal1-0/+782
changes included are - - Ported the SWIG wrapper shell scripts to Python so that they would work on Windows too along with other platforms - Updated CMake handling to fix SWIG errors and manage sym-linking on Windows to liblldb.dll - More build fixes for Windows The pending issues are that two Python modules, termios and pexpect are not available on Windows. These are currently required for the Python command interpreter to be used from within LLDB. llvm-svn: 212111