Skip to content
  1. Jun 20, 2011
  2. Jun 19, 2011
  3. Jun 18, 2011
    • Greg Clayton's avatar
      Don't print the baton when a breakpoint has a callback since it is pretty · 036ff116
      Greg Clayton authored
      useless to show.
      
      llvm-svn: 133358
      036ff116
    • Greg Clayton's avatar
      Added two new API functions to SBFrame: · 316d498b
      Greg Clayton authored
      const char *
      SBFrame::GetFunctionName();
      
      bool
      SBFrame::IsInlined();
      
      
      The first one will return the correct name for a frame. The name of a frame is:
      - the name of the inlined function (if there is one)
      - the name of the concrete function (if there is one)
      - the name of the symbol (if there is one)
      - NULL
      
      We also can now easily check if a frame is an inline function or not.
      
      llvm-svn: 133357
      316d498b
    • Greg Clayton's avatar
      Added a new format for displaying an array of characters: eFormatCharArray · 4e4294bd
      Greg Clayton authored
      This us useful because sometomes you have to show a single character as: 'a'
      (using eFormatChar) and other times you might have an array of single 
      charcters for display as: 'a' 'b' 'c', and other times you might want to 
      show the contents of buffer of characters that can contain non printable
      chars: "\0\x22\n123". 
      
      This also fixes an issue that currently happens when you have a single character
      C string (const char *a = "a"; or char b[1] = { 'b' };) that was being output
      as "'a'" incorrectly due to the way the eFormatChar format output worked.
      
      llvm-svn: 133316
      4e4294bd
    • Greg Clayton's avatar
      Fixed variable parsing to not parse block variables over and over due to an · c662ec8b
      Greg Clayton authored
      issue in the way block variables are marked as parsed. In the DWARF parser we
      always parse all blocks for a function at once, so we can mark all blocks as
      having all variables parsed and avoid recursive function calls to try and
      reparse things that have already been handled.
      
      Fixed an issue with how variables get scoped into blocks. The DWARF parser can
      now handle abtract class definitions that contain concrete static variables.
      When the concrete instance of the class functions get instantiated, they will
      track down the concrete block for the abtract block and add the variable to
      each block.
      
      llvm-svn: 133302
      c662ec8b
  4. Jun 17, 2011
  5. Jun 16, 2011
  6. Jun 15, 2011
    • Johnny Chen's avatar
      Simplify the base test class. Remove keyword argument setCookie from TestBase.runCmd() and · 5b67ca8c
      Johnny Chen authored
      remove the self.runStarted attribute since the automatic shutdown of processes associated
      with the targets are now performed automatically.
      
      llvm-svn: 133092
      5b67ca8c
    • Johnny Chen's avatar
      Add an API to SBDebugger class: · 3794ad95
      Johnny Chen authored
          bool SBDebugger::DeleteTarget(lldb::SBTarget &target);
      
      which is used in the test tearDown() phase to cleanup the debugger's target list
      so that it won't grow larger and larger as test cases are executed.  This is also
      a good opportunity to get rid of the arcane requirement that test cases exercising
      the Python API must assign the process object to self.process so that it gets
      shutdown gracefully.  Instead, the shutdown of the process associated with each
      target is now being now automatically.
      
      Also get rid of an API from SBTarget class:
      
          SBTarget::DeleteTargetFromList(lldb_private::TargetList *list);
      
      llvm-svn: 133091
      3794ad95
    • Jim Ingham's avatar
      Made GetConditionText const everywhere. Made it return NULL when there's no condition · 691bcc2a
      Jim Ingham authored
      like the doc's say it should.  Make sure we have a condition before we set up a test whether
      we have one, so we only present a "could not parse condition" error if we actually have a condition.
      
      llvm-svn: 133088
      691bcc2a
    • Jim Ingham's avatar
      Added a few trivial mods. · 57f29f80
      Jim Ingham authored
      llvm-svn: 133084
      57f29f80
    • Caroline Tice's avatar
      · 15356e7f
      Caroline Tice authored
      Replace direct uses of the Debugger's output stream with
      uses of the asynchronous stream.
      
      llvm-svn: 133076
      15356e7f
    • Caroline Tice's avatar
      · 8f7eb81b
      Caroline Tice authored
      Add an introduction to the scripting example web page.
      
      llvm-svn: 133061
      8f7eb81b
    • Johnny Chen's avatar
      Update usage comment. · 67a3e9e4
      Johnny Chen authored
      llvm-svn: 133020
      67a3e9e4
  7. Jun 14, 2011
Loading