Skip to content
  1. Jun 01, 2012
  2. May 09, 2012
  3. May 07, 2012
  4. May 05, 2012
  5. Aug 12, 2011
  6. Aug 11, 2011
  7. Jul 12, 2011
    • Jim Ingham's avatar
      Added "command history" command to dump the command history. · a5a97ebe
      Jim Ingham authored
      Also made:
      (lldb) !<NUM>
      (lldb) !-<NUM>
      (lldb) !!
      
      work with the history.  For added benefit:
      
      (lldb) !<NUM><TAB>
      
      will insert the command at position <NUM> in the history into the command line to be edited.
      
      This is only partial, I still need to sync up editline's history list with the one kept by the interpreter.
      
      llvm-svn: 134955
      a5a97ebe
  8. May 10, 2011
    • Caroline Tice's avatar
      · 9088b068
      Caroline Tice authored
      Make sure writing asynchronous output only backs up
      & overwrites prompt if the IOChannel input reader is the top
      input reader.
      
      llvm-svn: 131110
      9088b068
  9. May 04, 2011
    • Caroline Tice's avatar
      · 0de8d450
      Caroline Tice authored
      Add ability to search backwards through command
      history for a particular substring, using ctrl-r key.
      
      llvm-svn: 130871
      0de8d450
    • Caroline Tice's avatar
      · fe1bdf29
      Caroline Tice authored
      Minor cleanup:  When asynchronous output comes along,
      back up over and delete the prompt before writing out the
      asynchronous output, rather than just going to a new line.
      
      llvm-svn: 130843
      fe1bdf29
  10. May 03, 2011
    • Caroline Tice's avatar
      · 86a73f90
      Caroline Tice authored
      Make the driver listen for asynchronous output, rather than
      the IOChannel, so that it can be written out even while the
      IOChannel is collecting user input.
      
      llvm-svn: 130789
      86a73f90
  11. May 02, 2011
    • Caroline Tice's avatar
      · 969ed3d1
      Caroline Tice authored
      This patch captures and serializes all output being written by the
      command line driver, including the lldb prompt being output by
      editline, the asynchronous process output & error messages, and
      asynchronous messages written by target stop-hooks.
      
      As part of this it introduces a new Stream class,
      StreamAsynchronousIO.  A StreamAsynchronousIO object is created with a
      broadcaster, who will eventually broadcast the stream's data for a
      listener to handle, and an event type indicating what type of event
      the broadcaster will broadcast.  When the Write method is called on a
      StreamAsynchronousIO object, the data is appended to an internal
      string.  When the Flush method is called on a StreamAsynchronousIO
      object, it broadcasts it's data string and clears the string.
      
      Anything in lldb-core that needs to generate asynchronous output for
      the end-user should use the StreamAsynchronousIO objects.
      
      I have also added a new notification type for InputReaders, to let
      them know that a asynchronous output has been written. This is to
      allow the input readers to, for example, refresh their prompts and
      lines, if desired.  I added the case statements to all the input
      readers to catch this notification, but I haven't added any code for
      handling them yet (except to the IOChannel input reader).
      
      llvm-svn: 130721
      969ed3d1
  12. Feb 08, 2011
  13. Nov 19, 2010
  14. Sep 29, 2010
  15. Aug 28, 2010
    • Johnny Chen's avatar
      o Exposed SBFileSpec to the Python APIs in lldb.py. · 23fd10cb
      Johnny Chen authored
      o Fixed a crasher when getting it via SBTarget.GetExecutable().
      
      >>> filespec = target.GetExecutable()
      Segmentation fault
      
      o And renamed SBFileSpec::GetFileName() to GetFilename() to be consistent with FileSpec::GetFilename().
      
      llvm-svn: 112308
      23fd10cb
  16. Jul 14, 2010
  17. Jul 10, 2010
  18. Jul 09, 2010
  19. Jun 23, 2010
    • 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
  20. Jun 09, 2010
  21. Jun 08, 2010
Loading