aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/modify-python-lldb.py
AgeCommit message (Collapse)AuthorFilesLines
2011-04-28Fix a typo.Johnny Chen1-1/+1
llvm-svn: 130461
2011-04-28Move the iteration protocol of lldb objects to the auto-generated lldb ↵Johnny Chen1-0/+120
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