Skip to content
  1. Oct 12, 2010
  2. Oct 11, 2010
    • Johnny Chen's avatar
      Help text modification. · afef640a
      Johnny Chen authored
      llvm-svn: 116206
      afef640a
    • Greg Clayton's avatar
      Fixed an issue where objc types weren't ever getting fully resolved (beyond · aaf99e04
      Greg Clayton authored
      forward declarations).
      
      llvm-svn: 116181
      aaf99e04
    • Greg Clayton's avatar
      Exit if the command line is started with "--help". · e46dd32b
      Greg Clayton authored
      llvm-svn: 116180
      e46dd32b
    • Greg Clayton's avatar
      Added a "--no-lldbinit" option (-n for short (which magically matches · 6eee5aa0
      Greg Clayton authored
      what gdb uses)) so we can tell our "lldb" driver program to not automatically
      parse any .lldbinit files. 
      
      llvm-svn: 116179
      6eee5aa0
    • Greg Clayton's avatar
      Added the ability to get error strings back from failed · 46747022
      Greg Clayton authored
      lldb_private::RegularExpression compiles and matches with:
      
          size_t
          RegularExpression::GetErrorAsCString (char *err_str, 
                                                size_t err_str_max_len) const;
          
      Added the ability to search a variable list for variables whose names match
      a regular expression:
      
          size_t
          VariableList::AppendVariablesIfUnique (const RegularExpression& regex, 
                                                 VariableList &var_list, 
                                                 size_t& total_matches);
      
      
      Also added the ability to append a variable to a VariableList only if it is 
      not already in the list:
      
          bool
          VariableList::AddVariableIfUnique (const lldb::VariableSP &var_sp);
      
      Cleaned up the "frame variable" command:
      - Removed the "-n NAME" option as this is the default way for the command to
        work.
      - Enable uniqued regex searches on variable names by fixing the "--regex RE"
        command to work correctly. It will match all variables that match any
        regular expressions and only print each variable the first time it matches.
      - Fixed the option type for the "--regex" command to by eArgTypeRegularExpression
        instead of eArgTypeCount
      
      llvm-svn: 116178
      46747022
    • Greg Clayton's avatar
      Added a new test case to test signals with. · 864174e1
      Greg Clayton authored
      Added frame relative frame selection to "frame select". You can now select
      frames relative to the current frame (which defaults to zero if the current
      frame hasn't yet been set for a thread):
      
      The gdb "up" command can be done as:
      (lldb) frame select -r 1
      The gdb "down" command can be done as:
      (lldb) frame select -r -1
      
      Place the following in your ~/.lldbinit file for "up" and "down":
      
      command alias up frame select -r 1
      command alias down frame select -r -1
      
      llvm-svn: 116176
      864174e1
    • Greg Clayton's avatar
      Plugged memory leak. · 222f5700
      Greg Clayton authored
      llvm-svn: 116175
      222f5700
  3. Oct 10, 2010
    • Greg Clayton's avatar
      Added new options to memory read to allow saving memory to disk · 6d7e77b9
      Greg Clayton authored
      as binary bytes or as an ASCII text dump. 
      - The output file is specified with the  "--outfile FILE" option.
      - The memory can be appended to an existing file using the "--append" option. 
      - The memory will be written as an ASCII text dump by default, or as 
        binary with the "--binary" option. 
      
      Added new options to memory write to allow writing all or part of
      a file on disk to target memory:
      - The input file is specified using the "--infile FILE" option
      - The offset at which to start in the file defaults to zero, but
        can be overridden using the "--offset OFFSET" option. If the
        size is not specified, the remaining number of bytes in the file
        will be used as the default byte size.
      - The number of bytes to write defaults to the entire file byte
        size, but can be changed with the "--size COUNT" option.
       
      
      llvm-svn: 116172
      6d7e77b9
    • Johnny Chen's avatar
      Simplify the generator adaptor to a Python function instead of a class definition, · 493b526b
      Johnny Chen authored
      with the function name 'lldb_iter'.  Example:
      
      def disassemble_instructions (insts):
          from lldbutil import lldb_iter
          for i in lldb_iter(insts, 'GetSize', 'GetInstructionAtIndex'):
              print i
      
      llvm-svn: 116171
      493b526b
  4. Oct 09, 2010
  5. Oct 08, 2010
  6. Oct 07, 2010
Loading