e3a83d21d6f4fd813446fc7471c739507bbe11b5 |
|
15-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add usage docstring to SBValue.h, and minor update of docstrings for SBValueList.h. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135230 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm.py
|
2664941efbaf22603701f8b712819d1a9be249b5 |
|
06-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove unnecessary 'import' statement. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134519 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm.py
|
a7ab5900ceefe329d773fa353313ff311517c2c3 |
|
26-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a little spice to the script to allow us to specify a function name to break at and to disassemble. Usage: disasm.py [-n name] executable-image By default, it breaks at and disassembles the 'main' function. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm.py
|
d807c5145f1d9a650d58d0c86cde8d0b47b77a9d |
|
26-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a little twist to the disasm.py script so that it is possible to terminate the inferior process by entering 'Ctrl-D' or 'quit'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132088 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm.py
|
a6cec39633b8548967391b4fabdf2066937e3413 |
|
25-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modified to use SBTarget.LaunchSimple() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132082 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm.py
|
528a9165d5863dea6b91266ab42f607c1c1b5c7d |
|
25-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Use built-in truth value testing. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132079 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm.py
|
5949d280a934a839b957a5233b8bdb322ac7071c |
|
29-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modified to take advantage of the iteration protocol for our lldb container objects. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130456 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm.py
|
bb737104d66027385d9b0bc008402ae63578b41f |
|
30-Mar-2011 |
Jim Ingham <jingham@apple.com> |
The example had gotten stale, so I made it work again, and for fun printed out the frame registers as well. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128523 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm.py
|
3f6d14e8715c99d5fb391c534ed5b8a369914457 |
|
15-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
There's no need to explicitly call lldb.SBDebugger.Initialize() now. It is done when importing the lldb module. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116585 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm.py
|
e3c81e0fc26a1f69a5816f0067049c2ca39f1657 |
|
09-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Minor change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116127 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm.py
|
d8c625380b56759fc3fef8b9cf0389ae1a07f44d |
|
07-Oct-2010 |
Greg Clayton <gclayton@apple.com> |
Cleaned up the SWIG stuff so all includes happen as they should, no pulling tricks to get types to resolve. I did this by correctly including the correct files: stdint.h and all lldb-*.h files first before including the API files. This allowed me to remove all of the hacks that were in the lldb.swig file and it also allows all of the #defines in lldb-defines.h and enumerations in lldb-enumerations.h to appear in the lldb.py module. This will make the python script code a lot more readable. Cleaned up the "process launch" command to not execute a "process continue" command, it now just does what it should have with the internal API calls instead of executing another command line command. Made the lldb_private::Process set the state to launching and attaching if WillLaunch/WillAttach return no error respectively. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115902 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm.py
|
4fbfcdae57fccb9a384197d85963145e4aecc102 |
|
06-Oct-2010 |
Greg Clayton <gclayton@apple.com> |
Fixed a few issues with the example script. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm.py
|
1a3083a04c20cc8e7298e03b731cab5d09aa7bad |
|
06-Oct-2010 |
Greg Clayton <gclayton@apple.com> |
Added the first of hopefully many python example scripts that show how to use the python API that is exposed through SWIG to do some cool stuff. Also fixed synchronous debugging so that all process control APIs exposed through the python API will now wait for the process to stop if you set the async mode to false (see disasm.py). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115738 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm.py
|