Skip to content
  1. May 12, 2011
    • Johnny Chen's avatar
      Add two utility functions: · ad7372c5
      Johnny Chen authored
          o get_parent_frame(frame)
          o get_args_as_string(frame)
      
      to lldbutil.py and create TestFrameUtils.py to exercise the utils.
      Plus re-arrange the test/python_api/lldbutil to have three directories
      for testing iteration, process stack traces, and the just added frame utils.
      
      llvm-svn: 131213
      ad7372c5
  2. May 11, 2011
  3. May 10, 2011
  4. May 09, 2011
  5. May 08, 2011
  6. May 07, 2011
  7. May 06, 2011
  8. May 05, 2011
  9. May 04, 2011
  10. May 03, 2011
  11. May 02, 2011
  12. Apr 29, 2011
  13. 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
  14. Apr 27, 2011
Loading