llvm-project/lldb/scripts/Python
Johnny Chen fbc0d27144 Move the iteration protocol of lldb objects to the auto-generated lldb Python module.
This is so that the objects which support the iteration protocol are immediately obvious
from looking at the lldb.py file.

SBTarget supports two types of iterations: module and breakpoint.  For an SBTarget instance,
you will need to issue either:

    for m in target.module_iter()

or

    for b in target.breakpoint_iter()

For other single iteration protocol objects, just use, for example:

    for thread in process:
        ID = thread.GetThreadID()
        for frame in thread:
            frame.Disassemble()
            ....

llvm-svn: 130442
2011-04-28 21:31:18 +00:00
..
build-swig-Python.sh Move the iteration protocol of lldb objects to the auto-generated lldb Python module. 2011-04-28 21:31:18 +00:00
edit-swig-python-wrapper-file.py Remove references to particular Python version (use the system default 2010-10-28 21:51:20 +00:00
finish-swig-Python-LLDB.sh Parameterize the shell scripts for creating and copying the python and 2010-06-16 19:26:52 +00:00
modify-python-lldb.py Move the iteration protocol of lldb objects to the auto-generated lldb Python module. 2011-04-28 21:31:18 +00:00
python-extensions.swig Make SBBreakpointLocation::GetDescription() API to be consistent with SBTarget, 2011-04-25 20:23:05 +00:00