Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix a bug introduced in my previous checkin, where the state was not properly | Johnny Chen | 2011-04-29 | 1 | -2/+3 | |
| | | | | | | restored after parsing "SBTarget". Indentation matters in Python. :-) llvm-svn: 130532 | |||||
* | Add the Python rich comparison methods for SBBreakpoint, where GetID() returns | Johnny Chen | 2011-04-29 | 1 | -10/+26 | |
| | | | | | | | the breakpoint ID and provides the semantics needed for '==' and '!='. And modify LLDBIteratorTestCase.lldb_iter_2() to use '==' between two SBBreakpoint's. llvm-svn: 130531 | |||||
* | Fix a typo. | Johnny Chen | 2011-04-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 130461 | |||||
* | Move the iteration protocol of lldb objects to the auto-generated lldb ↵ | Johnny Chen | 2011-04-28 | 1 | -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 |