- Jul 03, 2011
-
-
Johnny Chen authored
generated from the swig docstring features instead of blindly applying the cleanup action for all input lines. llvm-svn: 134368
-
Johnny Chen authored
Add post-processing step to remove the trailing blank lines from the docstrings of lldb.py. llvm-svn: 134360
-
- Jul 02, 2011
-
-
Johnny Chen authored
llvm-svn: 134326
-
Johnny Chen authored
take advantage of them. Update modify-python-lldb.py to remove some 'residues' resulting from swigification. llvm-svn: 134269
-
- Jun 14, 2011
-
-
Peter Collingbourne authored
Previously the IsValid pattern matched only function signatures of the form: def IsValid(*args): ... However under SWIG 1.3.40 on Linux the signature reads: def IsValid(self): ... The new pattern matches both signature types by matching only up to the left paren. llvm-svn: 132968
-
- Jun 10, 2011
-
-
Johnny Chen authored
If two SBAddress's have the same module and file address, they are considered equal. Add a test snippet 'sa1 == sa2' to exercise the rich comparison methods for SBAddress. llvm-svn: 132807
-
- Jun 01, 2011
-
-
Johnny Chen authored
the SWIG-generated lldb.py module by adding comments in the post-processed file in order to facilitate reading of the code. llvm-svn: 132417
-
Johnny Chen authored
llvm-svn: 132412
-
- May 25, 2011
-
-
Johnny Chen authored
llvm-svn: 132019
-
Johnny Chen authored
llvm-svn: 132018
-
Johnny Chen authored
method definition before other method definitions. Instead, do without it and process the class with IsValid() method definition in all possible states. llvm-svn: 132016
-
- May 24, 2011
-
-
Johnny Chen authored
llvm-svn: 132002
-
- May 18, 2011
-
-
Johnny Chen authored
object.__nonzero__(self) is called to implement truth value testing and the built-in operation bool(), via a simple delegation to self.IsValid(). Change tests under python_api/lldbutil to utilize this mechanism. llvm-svn: 131494
-
- May 16, 2011
-
-
Johnny Chen authored
unambiguous iteration support. So that we could, for example: ... REGs = lldbutil.get_GPRs(frame) print "Number of general purpose registers: %d" % len(REGs) for reg in REGs: print "%s => %s" %(reg.GetName(), reg.GetValue()) ... llvm-svn: 131418
-
- May 02, 2011
-
-
Johnny Chen authored
Add implementation of '==' and '!=' for SBFileSpec and SBModule. Modify a test case to take advantage of 'ths_module == that_module'. llvm-svn: 130709
-
Johnny Chen authored
llvm-svn: 130698
-
- Apr 29, 2011
-
-
Johnny Chen authored
llvm-svn: 130533
-
Johnny Chen authored
restored after parsing "SBTarget". Indentation matters in Python. :-) llvm-svn: 130532
-
Johnny Chen authored
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
-
Johnny Chen authored
llvm-svn: 130461
-
- Apr 28, 2011
-
-
Johnny Chen authored
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
-