Skip to content
  1. May 14, 2011
  2. May 13, 2011
  3. May 12, 2011
  4. May 11, 2011
    • Greg Clayton's avatar
      Moved all code from ArchDefaultUnwindPlan and ArchVolatileRegs into their · 31f1d2f5
      Greg Clayton authored
      respective ABI plugins as they were plug-ins that supplied ABI specfic info.
      
      Also hookep up the UnwindAssemblyInstEmulation so that it can generate the
      unwind plans for ARM.
      
      Changed the way ABI plug-ins are handed out when you get an instance from
      the plug-in manager. They used to return pointers that would be mananged
      individually by each client that requested them, but now they are handed out
      as shared pointers since there is no state in the ABI objects, they can be
      shared.
      
      llvm-svn: 131193
      31f1d2f5
    • Caroline Tice's avatar
      · 2b5e8504
      Caroline Tice authored
      Add ability to recognize/handle quotes around commands
      (e.g. '"target" create'  works as well as 'target create').
      
      llvm-svn: 131185
      2b5e8504
  5. May 10, 2011
    • Sean Callanan's avatar
      Fixed a bug that caused types to be incorrectly · 019cacca
      Sean Callanan authored
      looked up.  Queries for global types were made
      too specific -- including the current module
      and compile unit in the query was limiting the
      search when we wanted a truly global search.
      
      llvm-svn: 131145
      019cacca
    • Caroline Tice's avatar
      · 9088b068
      Caroline Tice authored
      Make sure writing asynchronous output only backs up
      & overwrites prompt if the IOChannel input reader is the top
      input reader.
      
      llvm-svn: 131110
      9088b068
    • Sean Callanan's avatar
      Fixed a bug in which expression-local variables were · e359d9b7
      Sean Callanan authored
      treated as being permanently resident in target
      memory.  In fact, since the expression's stack frame
      is deleted and potentially re-used after the
      expression completes, the variables need to be treated
      as being freeze-dried.
      
      llvm-svn: 131104
      e359d9b7
  6. May 09, 2011
    • Greg Clayton's avatar
      While implementing unwind information using UnwindAssemblyInstEmulation I ran · 7349bd90
      Greg Clayton authored
      into some cleanup I have been wanting to do when reading/writing registers.
      Previously all RegisterContext subclasses would need to implement:
      
      virtual bool
      ReadRegisterBytes (uint32_t reg, DataExtractor &data);
      
      virtual bool
      WriteRegisterBytes (uint32_t reg, DataExtractor &data, uint32_t data_offset = 0);
      
      There is now a new class specifically designed to hold register values: 
              lldb_private::RegisterValue
              
      The new register context calls that subclasses must implement are:
      
      virtual bool
      ReadRegister (const RegisterInfo *reg_info, RegisterValue &reg_value) = 0;
      
      virtual bool
      WriteRegister (const RegisterInfo *reg_info, const RegisterValue &reg_value) = 0;
      
      The RegisterValue class must be big enough to handle any register value. The
      class contains an enumeration for the value type, and then a union for the 
      data value. Any integer/float values are stored directly in an appropriate
      host integer/float. Anything bigger is stored in a byte buffer that has a length
      and byte order. The RegisterValue class also knows how to copy register value
      bytes into in a buffer with a specified byte order which can be used to write
      the register value down into memory, and this does the right thing when not
      all bytes from the register values are needed (getting a uint8 from a uint32
      register value..). 
      
      All RegiterContext and other sources have been switched over to using the new
      regiter value class.
      
      llvm-svn: 131096
      7349bd90
    • Johnny Chen's avatar
      Fix the wrong error message for "platform process info", i.e., with no pid(s)... · 3173e27e
      Johnny Chen authored
      Fix the wrong error message for "platform process info", i.e., with no pid(s) specified for the command.
      
      llvm-svn: 131089
      3173e27e
    • Greg Clayton's avatar
      Fixed an issue with the MacOSX backchain register context where the pc was · 0e485164
      Greg Clayton authored
      being returned for both the PC and FP.
      
      llvm-svn: 131081
      0e485164
  7. May 08, 2011
  8. May 07, 2011
  9. May 06, 2011
  10. May 05, 2011
  11. May 04, 2011
    • Jim Ingham's avatar
      Change "frame var" over to using OptionGroups (and thus the OptionGroupVariableObjectDisplay). · 2837b766
      Jim Ingham authored
      Change the boolean "use_dynamic" over to a tri-state, no-dynamic, dynamic-w/o running target,
      and dynamic with running target.
      
      llvm-svn: 130832
      2837b766
    • Greg Clayton's avatar
      Added new OptionGroup classes for UInt64, UUID, File and Boolean values. · effe5c95
      Greg Clayton authored
      Removed the "image" command and moved it to "target modules". Added an alias
      for "image" to "target modules". 
      
      Added some new target commands to be able to add and load modules to a target:
      (lldb) target modules add <path>
      (lldb) target modules load [--file <path>] [--slide <offset>] [<sect-name> <sect-load-addr> ...]
      
      So you can load individual sections without running a target:
      
      (lldb) target modules load --file /usr/lib/libSystem.B.dylib __TEXT 0x7fccc80000 __DATA 0x1234000000
      
      Or you can rigidly slide an entire shared library:
      
      (lldb) target modules load --file /usr/lib/libSystem.B.dylib --slid 0x7fccc80000
      
      This should improve bare board debugging when symbol files need to be slid around manually.
      
      llvm-svn: 130796
      effe5c95
  12. May 03, 2011
  13. 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
    • Jim Ingham's avatar
      Adding support for fetching the Dynamic Value for ObjC Objects. · 61be0903
      Jim Ingham authored
      llvm-svn: 130701
      61be0903
Loading