Skip to content
  1. Sep 07, 2010
    • Johnny Chen's avatar
      LLDB command "set term-width 0" needs to be changed to "settings set term-width 0" · ecf9ded3
      Johnny Chen authored
      after the recent checkin.
      
      llvm-svn: 113206
      ecf9ded3
    • Greg Clayton's avatar
      Added more API to lldb::SBBlock to allow getting the block · 95897c6a
      Greg Clayton authored
      parent, sibling and first child block, and access to the
      inline function information.
      
      Added an accessor the StackFrame:
      
      	Block * lldb_private::StackFrame::GetFrameBlock();
      	
      LLDB represents inline functions as lexical blocks that have
      inlined function information in them. The function above allows
      us to easily get the top most lexical block that defines a stack
      frame. When there are no inline functions in function, the block
      returned ends up being the top most block for the function. When
      the PC is in an inlined funciton for a frame, this will return the
      first parent block that has inlined function information. The
      other accessor: StackFrame::GetBlock() will return the deepest block
      that matches the frame's PC value. Since most debuggers want to display
      all variables in the current frame, the Block returned by
      StackFrame::GetFrameBlock can be used to retrieve all variables for
      the current frame.
      
      Fixed the lldb_private::Block::DumpStopContext(...) to properly
      display inline frames a block should display all of its inlined
      functions. Prior to this fix, one of the call sites was being skipped.
      This is a separate code path from the current default where inlined
      functions get their own frames.
      
      Fixed an issue where a block would always grab variables for any
      child inline function blocks.
      
      llvm-svn: 113195
      95897c6a
    • Greg Clayton's avatar
      Fixed an error that could occur during disassembly that could cause a function... · 3c68757c
      Greg Clayton authored
      Fixed an error that could occur during disassembly that could cause a function name to be printed before the first _and_ the second instruction of disassembly when there are two symbols -- one debug symbol and one linker symbol. 
      
      llvm-svn: 113181
      3c68757c
    • Greg Clayton's avatar
      Fixed a buffer overrun error that could occur every time the program was run... · b0458249
      Greg Clayton authored
      Fixed a buffer overrun error that could occur every time the program was run due to a "sprintf" with a destination string that was too short. 
      
      llvm-svn: 113180
      b0458249
    • Greg Clayton's avatar
      Fixed an error where a random string would get executed after a recent fix... · f7c0fd8d
      Greg Clayton authored
      Fixed an error where a random string would get executed after a recent fix that checked if the window column size was zero was added on the lldb driver startup.
      
      llvm-svn: 113179
      f7c0fd8d
  2. Sep 04, 2010
  3. Sep 03, 2010
  4. Sep 02, 2010
    • Greg Clayton's avatar
      Added a new bool parameter to many of the DumpStopContext() methods that · 6dadd508
      Greg Clayton authored
      might dump file paths that allows the dumping of full paths or just the
      basenames. Switched the stack frame dumping code to use just the basenames for
      the files instead of the full path.
      
      Modified the StackID class to no rely on needing the start PC for the current
      function/symbol since we can use the SymbolContextScope to uniquely identify
      that, unless there is no symbol context scope. In that case we can rely upon
      the current PC value. This saves the StackID from having to calculate the 
      start PC when the StackFrame::GetStackID() accessor is called.
      
      Also improved the StackID less than operator to correctly handle inlined stack
      frames in the same stack.
      
      llvm-svn: 112867
      6dadd508
    • Johnny Chen's avatar
      Moved the process cleanup of Script-Bridge-based APIs into TestBase.tearDown() · 7d1d7537
      Johnny Chen authored
      method where they belong.  Also fixed a logic error in maintaining the command
      interface flag (runStarted) indicating whether the lldb "run"/"process launch"
      command has been issued.  It was erroneously cleared.
      
      Modified the test cases to take advantage of the refactoring.
      
      llvm-svn: 112863
      7d1d7537
    • Johnny Chen's avatar
      (query-replace "variable list" "frame variable") · 979e7966
      Johnny Chen authored
      llvm-svn: 112824
      979e7966
    • Greg Clayton's avatar
      StackFrame objects now own ValueObjects for any frame variables (locals, args, · 288bdf9c
      Greg Clayton authored
      function statics, file globals and static variables) that a frame contains. 
      The StackFrame objects can give out ValueObjects instances for
      each variable which allows us to track when a variable changes and doesn't
      depend on variable names when getting value objects.
      
      StackFrame::GetVariableList now takes a boolean to indicate if we want to
      get the frame compile unit globals and static variables.
      
      The value objects in the stack frames can now correctly track when they have
      been modified. There are a few more tweaks needed to complete this work. The
      biggest issue is when stepping creates partial stacks (just frame zero usually)
      and causes previous stack frames not to match up with the current stack frames
      because the previous frames only has frame zero. We don't really want to 
      require that all previous frames be complete since stepping often must check
      stack frames to complete their jobs. I will fix this issue tomorrow.
      
      llvm-svn: 112800
      288bdf9c
    • Sean Callanan's avatar
      Added code to run pointer validation checks in · 8e999e40
      Sean Callanan authored
      expressions.  If an expression dereferences an
      invalid pointer, there will still be a crash -
      just now the crash will be in the function
      ___clang_valid_pointer_check().
      
      llvm-svn: 112785
      8e999e40
    • Jim Ingham's avatar
      Move "variable list" to "frame variable" · 6d56d2ce
      Jim Ingham authored
      llvm-svn: 112782
      6d56d2ce
    • Johnny Chen's avatar
      Fixed comment. · b92555c3
      Johnny Chen authored
      llvm-svn: 112750
      b92555c3
    • Johnny Chen's avatar
      13639089
  5. Sep 01, 2010
  6. Aug 31, 2010
Loading