Skip to content
Snippets Groups Projects
  1. Jun 23, 2010
    • Sean Callanan's avatar
      Fixes for array handling and dynamic type casting · d448c1ba
      Sean Callanan authored
      errors pointed out by John McCall.
      
      llvm-svn: 106665
      d448c1ba
    • Greg Clayton's avatar
      Very large changes that were needed in order to allow multiple connections · 6611103c
      Greg Clayton authored
      to the debugger from GUI windows. Previously there was one global debugger
      instance that could be accessed that had its own command interpreter and
      current state (current target/process/thread/frame). When a GUI debugger
      was attached, if it opened more than one window that each had a console
      window, there were issues where the last one to setup the global debugger
      object won and got control of the debugger.
      
      To avoid this we now create instances of the lldb_private::Debugger that each 
      has its own state:
      - target list for targets the debugger instance owns
      - current process/thread/frame
      - its own command interpreter
      - its own input, output and error file handles to avoid conflicts
      - its own input reader stack
      
      So now clients should call:
      
          SBDebugger::Initialize(); // (static function)
      
          SBDebugger debugger (SBDebugger::Create());
          // Use which ever file handles you wish
          debugger.SetErrorFileHandle (stderr, false);
          debugger.SetOutputFileHandle (stdout, false);
          debugger.SetInputFileHandle (stdin, true);
      
          // main loop
          
          SBDebugger::Terminate(); // (static function)
          
      SBDebugger::Initialize() and SBDebugger::Terminate() are ref counted to
      ensure nothing gets destroyed too early when multiple clients might be
      attached.
      
      Cleaned up the command interpreter and the CommandObject and all subclasses
      to take more appropriate arguments.
      
      llvm-svn: 106615
      6611103c
    • Sean Callanan's avatar
      Updated the expression parser to use proper logging when · f06ba8d8
      Sean Callanan authored
      looking for external variables.  Also cleaned up the log
      messages coming from the DWARF interpreter.
      
      llvm-svn: 106613
      f06ba8d8
    • Sean Callanan's avatar
      Added support to the expression parser for locating · 468574bd
      Sean Callanan authored
      externally-defined functions.
      
      llvm-svn: 106606
      468574bd
  2. Jun 22, 2010
  3. Jun 21, 2010
  4. Jun 19, 2010
    • Jim Ingham's avatar
      Two changes in this checkin. Added a ThreadPlanKind so that I can do some... · b01e742a
      Jim Ingham authored
      Two changes in this checkin.  Added a ThreadPlanKind so that I can do some reasoning based on the kind of thread plan
      without having to use RTTI.
      Removed the ThreadPlanContinue and replaced with a ShouldAutoContinue query that serves the same purpose.  Having to push
      another plan to assert that if there's no other indication the target should continue when this plan is popped was flakey
      and error prone.  This method is more stable, and fixed problems we were having with thread specific breakpoints.
      
      llvm-svn: 106378
      b01e742a
    • Jim Ingham's avatar
      Remember whether a queue or thread name were passed into "breakpoint modify"... · b2a38a72
      Jim Ingham authored
      Remember whether a queue or thread name were passed into "breakpoint modify" so we can recognize an empty argument as unsetting the option.
      
      llvm-svn: 106377
      b2a38a72
  5. Jun 18, 2010
  6. Jun 17, 2010
  7. Jun 16, 2010
  8. Jun 15, 2010
  9. Jun 14, 2010
  10. Jun 13, 2010
  11. Jun 12, 2010
Loading