Skip to content
  1. May 02, 2011
  2. Apr 30, 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
    • Greg Clayton's avatar
      Added the ability to specify dumping options (show types, show location, · 68ebae61
      Greg Clayton authored
      depth control, pointer depth, and more) when dumping memory and viewing as
      a type.
      
      llvm-svn: 130436
      68ebae61
    • Greg Clayton's avatar
      Added a new OptionValue subclass for lldb::Format: OptionValueFormat. Added · 84c39663
      Greg Clayton authored
      new OptionGroup subclasses for:
      - output file for use with options: 
              long opts: --outfile <path> --append--output
              short opts: -o <path> -A
              
      - format for use with options:
              long opts: --format <format>
      
      - variable object display controls for depth, pointer depth, wether to show
        types, show summary, show location, flat output, use objc "po" style summary.
        
      Modified ValueObjectMemory to be able to be created either with a TypeSP or
      a ClangASTType.
      
      Switched "memory read" over to use OptionGroup subclasses: one for the outfile
      options, one for the command specific options, and one for the format.
      
      llvm-svn: 130334
      84c39663
  5. Apr 27, 2011
  6. Apr 26, 2011
    • Johnny Chen's avatar
      Simplify the parsing of ARCH and Compiler specs. · 489b5257
      Johnny Chen authored
      llvm-svn: 130240
      489b5257
    • Johnny Chen's avatar
      Modify EmulateInstructionARM::SetArchitecture() to treat "arm" and "thumb" as... · a85bf380
      Johnny Chen authored
      Modify EmulateInstructionARM::SetArchitecture() to treat "arm" and "thumb" as wild card architectures
      for now, in order to fix the test failure for the 'arm_emulation' directory.
      There might be a better way.
      
      llvm-svn: 130227
      a85bf380
    • Greg Clayton's avatar
      Changed the emulate instruction function to take emulate options which · 2ed751bd
      Greg Clayton authored
      are defined as enumerations. Current bits include:
      
              eEmulateInstructionOptionAutoAdvancePC
              eEmulateInstructionOptionIgnoreConditions
      
      Modified the EmulateInstruction class to have a few more pure virtuals that
      can help clients understand how many instructions the emulator can handle:
      
              virtual bool
              SupportsEmulatingIntructionsOfType (InstructionType inst_type) = 0;
      
      
      Where instruction types are defined as:
      
      //------------------------------------------------------------------
      /// Instruction types
      //------------------------------------------------------------------    
      typedef enum InstructionType
      {
          eInstructionTypeAny,                // Support for any instructions at all (at least one)
          eInstructionTypePrologueEpilogue,   // All prologue and epilogue instructons that push and pop register values and modify sp/fp
          eInstructionTypePCModifying,        // Any instruction that modifies the program counter/instruction pointer
          eInstructionTypeAll                 // All instructions of any kind
      
      }  InstructionType;
      
      
      This allows use to tell what an emulator can do and also allows us to request
      these abilities when we are finding the plug-in interface.
      
      Added the ability for an EmulateInstruction class to get the register names
      for any registers that are part of the emulation. This helps with being able
      to dump and log effectively.
      
      The UnwindAssembly class now stores the architecture it was created with in
      case it is needed later in the unwinding process.
      
      Added a function that can tell us DWARF register names for ARM that goes
      along with the source/Utility/ARM_DWARF_Registers.h file: 
      
              source/Utility/ARM_DWARF_Registers.c
              
      Took some of plug-ins out of the lldb_private namespace.
      
      llvm-svn: 130189
      2ed751bd
    • Johnny Chen's avatar
      For lldbutil.py, Change a bunch of function names to all lower case formats to be consistent. · d0fef81e
      Johnny Chen authored
      And modify the test cases accordingly.
      
      llvm-svn: 130174
      d0fef81e
    • Caroline Tice's avatar
      · c2bbb49a
      Caroline Tice authored
      Add 'lldb_private' namespace where necessary to prevent ambiguity and
      resulting infinite loops.
      
      llvm-svn: 130159
      c2bbb49a
    • Johnny Chen's avatar
      Move two functions around. · d369908d
      Johnny Chen authored
      llvm-svn: 130158
      d369908d
  7. Apr 25, 2011
  8. Apr 23, 2011
Loading