Skip to content
  1. May 03, 2011
  2. May 02, 2011
    • Greg Clayton's avatar
      Added a "--triple [<width>]" ("-t<width>" as a short option) option to the · b501b99c
      Greg Clayton authored
      image list command so we can see the full triple for each target module.
      
      llvm-svn: 130728
      b501b99c
    • Caroline Tice's avatar
      · 969ed3d1
      Caroline Tice authored
      This patch captures and serializes all output being written by the
      command line driver, including the lldb prompt being output by
      editline, the asynchronous process output & error messages, and
      asynchronous messages written by target stop-hooks.
      
      As part of this it introduces a new Stream class,
      StreamAsynchronousIO.  A StreamAsynchronousIO object is created with a
      broadcaster, who will eventually broadcast the stream's data for a
      listener to handle, and an event type indicating what type of event
      the broadcaster will broadcast.  When the Write method is called on a
      StreamAsynchronousIO object, the data is appended to an internal
      string.  When the Flush method is called on a StreamAsynchronousIO
      object, it broadcasts it's data string and clears the string.
      
      Anything in lldb-core that needs to generate asynchronous output for
      the end-user should use the StreamAsynchronousIO objects.
      
      I have also added a new notification type for InputReaders, to let
      them know that a asynchronous output has been written. This is to
      allow the input readers to, for example, refresh their prompts and
      lines, if desired.  I added the case statements to all the input
      readers to catch this notification, but I haven't added any code for
      handling them yet (except to the IOChannel input reader).
      
      llvm-svn: 130721
      969ed3d1
    • Johnny Chen's avatar
      Add implementation of '==' and '!=' for SBFileSpec and SBModule. Modify a... · d71670c0
      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
      d71670c0
    • Jim Ingham's avatar
      Adding support for fetching the Dynamic Value for ObjC Objects. · 61be0903
      Jim Ingham authored
      llvm-svn: 130701
      61be0903
    • Johnny Chen's avatar
      Fix a typo in comment. · 17bae4c5
      Johnny Chen authored
      llvm-svn: 130698
      17bae4c5
  3. Apr 30, 2011
  4. Apr 29, 2011
  5. 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
  6. Apr 27, 2011
  7. 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
  8. Apr 25, 2011
Loading