Skip to content
  1. Jun 18, 2013
    • Enrico Granata's avatar
      <rdar://problem/14134716> · 7594f14f
      Enrico Granata authored
      This is a rewrite of the command history facility of LLDB
      
      It takes the history management out of the CommandInterpreter into its own CommandHistory class
      It reimplements the command history command to allow more combinations of options to work correctly (e.g. com hist -c 1 -s 5)
      It adds a new --wipe (-w) option to command history to allow clearing the history on demand
      It extends the lldbtest runCmd: and expect: methods to allow adding commands to history if need be
      It adds a test case for the reimplemented facility
      
      llvm-svn: 184140
      7594f14f
  2. Jun 17, 2013
  3. Jun 15, 2013
  4. Jun 14, 2013
  5. Jun 13, 2013
  6. Jun 12, 2013
    • Rafael Espindola's avatar
      Use the global functions instead of the Program methods. · 6ba87f65
      Rafael Espindola authored
      llvm-svn: 183862
      6ba87f65
    • Daniel Malea's avatar
      If using clang 3.4, skip tests affected by llvm.org/pr16214 · 31ebbed4
      Daniel Malea authored
      - clang emits incomplete DWARF information for structures referenced via typedef
      
      llvm-svn: 183846
      31ebbed4
    • Ashok Thirumurthi's avatar
    • Enrico Granata's avatar
      <rdar://problem/11914077> · 9b62d1d5
      Enrico Granata authored
      If you type help command <word> <word> <word> <missingSubCommand> (e.g. help script import or help type summary fake), you will get help on the deepest matched command word (i.e. script or type summary in the examples)
      Also, reworked the logic for commands to produce their help to make it more object-oriented
      
      llvm-svn: 183822
      9b62d1d5
    • Greg Clayton's avatar
      Huge performance improvements when one breakpoint contains many locations. · d8cf1a11
      Greg Clayton authored
      325,000 breakpoints for running "breakpoint set --func-regex ." on lldb itself (after hitting a breakpoint at main so that LLDB.framework is loaded) used to take up to an hour to set, now we are down under a minute. With warm file caches, we are at 40 seconds, and that is with setting 325,000 breakpoint through the GDB remote API. Linux and the native debuggers might be faster. I haven't timed what how much is debug info parsing and how much is the protocol traffic to/from GDB remote.
      
      That there were many performance issues. Most of them were due to storing breakpoints in the wrong data structures, or using the wrong iterators to traverse the lists, traversing the lists in inefficient ways, and not optimizing certain function name lookups/symbol merges correctly.
      
      Debugging after that is also now very efficient. There were issues with replacing the breakpoint opcodes in memory that was read, and those routines were also fixed.
      
      llvm-svn: 183820
      d8cf1a11
    • Enrico Granata's avatar
      <rdar://problem/13299214> · aded51da
      Enrico Granata authored
      Make the error message here more interesting for the user
      
      llvm-svn: 183818
      aded51da
    • Enrico Granata's avatar
      Removing a redundant write · 6f630018
      Enrico Granata authored
      llvm-svn: 183814
      6f630018
    • Daniel Malea's avatar
      Update TestRegisters for running on Linux (filed llvm.org/pr16301) · c087a6bd
      Daniel Malea authored
      - skip the attach cases in TestRegisters.py -- caused slowness/sigabrt
      - fixed log file removal function (in case test is run with -# flag)
      
      llvm-svn: 183812
      c087a6bd
    • Enrico Granata's avatar
      Improvements to the data formatters SB API: · e34ade79
      Enrico Granata authored
      - exposing new accessors: formats/format, ..., that allow you to iterate over all formatters
       e.g. sys_category = lldb.debugger.GetCategory("system").summary['char *']
      - ensuring that C++-based synthetic children provider can at least print their description accurately, if nothing else
      
      llvm-svn: 183805
      e34ade79
    • Enrico Granata's avatar
      <rdar://problem/13646047> · b0c72d99
      Enrico Granata authored
      Providing a Python helper SBData.CreateDataFromInt() to make an SBData out of a single integer number
      It tries to use the current target, if any, for endianness and pointer size, and it picks a reasonable size on your behalf - if there is no way it can infer anything reasonable it essentially picks a 64-bit Mac as the reference model
      
      llvm-svn: 183793
      b0c72d99
  7. Jun 11, 2013
    • Greg Clayton's avatar
      Use llvm::APFloat for formatting if a target is available. Each target when... · bc8fc0f5
      Greg Clayton authored
      Use llvm::APFloat for formatting if a target is available. Each target when debugging has a "ASTContext" that helps us to use the correct floating point semantics. Now that APFloat supports toString we now use that. If we don't have a target, we still fall back on the old display methodology, but the important formatting should always have a target available and thus use the compiler floating point code.
      
      Modified the test programs to use floating point constants that always will display correctly. We had some numbers that were being rounded, and now that we are using clang, we no longer round them and we get more correct results.
      
      llvm-svn: 183792
      bc8fc0f5
    • Enrico Granata's avatar
      Making our Python decrefs NULL-safe · 05db523f
      Enrico Granata authored
      llvm-svn: 183774
      05db523f
    • Enrico Granata's avatar
      <rdar://problem/13759177> · 8d6e5ec2
      Enrico Granata authored
      Allowing LLDB to resolve names of Python functions when they are located in classes
      This allows things like *bound* classmethods to be used for formatters, commands, ...
      
      llvm-svn: 183772
      8d6e5ec2
    • Enrico Granata's avatar
      <rdar://problem/13779789> · 7bd2bbb9
      Enrico Granata authored
      Allow memory read -t to take persistent types (those defined with expression struct $....)
      
      llvm-svn: 183766
      7bd2bbb9
    • Greg Clayton's avatar
      Remove eFormatHalfFloat as it isn't needed. eFormatFloat should be used and... · 3fb543b0
      Greg Clayton authored
      Remove eFormatHalfFloat as it isn't needed. eFormatFloat should be used and the byte size will tell us how to display it.
      
      llvm-svn: 183755
      3fb543b0
    • Enrico Granata's avatar
      <rdar://problem/12876503> · 012d4fca
      Enrico Granata authored
      Adding a new setting interpreter.stop-command-source-on-error that dictates a default behavior for whether command source should stop upon hitting an error
      You can still override the setting for each individual invocation with the usual -e setting
      
      llvm-svn: 183719
      012d4fca
    • Enrico Granata's avatar
      <rdar://problem/12783351> · 97fe23e0
      Enrico Granata authored
      Add support for half-floats, as specified by IEEE-754-2008
      With this checkin, you can now say:
      (lldb) x/7hf foo
      
      to read 7 half-floats at address foo
      
      llvm-svn: 183716
      97fe23e0
    • Enrico Granata's avatar
      Adding properties to the SBBreakpoint class · c01dc4af
      Enrico Granata authored
      llvm-svn: 183707
      c01dc4af
    • Enrico Granata's avatar
      <rdar://problem/14101771> · 4c648b18
      Enrico Granata authored
      Hardening the CFBitVector data formatter against failed reads
      
      llvm-svn: 183706
      4c648b18
Loading