Skip to content
  1. May 03, 2011
    • Johnny Chen's avatar
      Add a test case to exercise the 'target stop-hook add' command without relying on pexpect · 37286b24
      Johnny Chen authored
      to spawn an lldb child command.  The test is not "correct" in that the '** Stop Hooks **'
      message emitted by the Target implementation is invoked asynchronously and is using a separate:
      
          CommandReturnObject result;
      
      command return object that what the driver passes to the normal command interpreter loop.
      But it can help test our output serialization work.
      
      I need to modify the test case later to maybe only test that "-o 'expr ptr'" option does indeed work.
      
      llvm-svn: 130742
      37286b24
  2. May 02, 2011
  3. Apr 29, 2011
  4. Apr 28, 2011
    • Johnny Chen's avatar
      Move the iteration protocol of lldb objects to the auto-generated lldb Python module. · fbc0d271
      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
      fbc0d271
  5. Apr 27, 2011
  6. Apr 26, 2011
  7. Apr 25, 2011
  8. Apr 23, 2011
  9. Apr 22, 2011
  10. Apr 21, 2011
Loading