Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make all debugger-level user settable variables into instance variables. | Caroline Tice | 2010-09-09 | 1 | -3/+4 | |
| | | | | | | | Make get/set variable at the debugger level always set the particular debugger's instance variables rather than the default variables. llvm-svn: 113474 | |||||
* | Hide the logic for command resolution for commands, aliases & user commands ↵ | Jim Ingham | 2010-07-06 | 1 | -0/+1 | |
| | | | | | | | | | | | | behind a single interface so everybody does it the same way. Add an "exact" lookup for internal uses. Fix up a few little cases where we weren't reporting command lookup errors correctly. Added "b" as an alias for "breakpoint" so it doesn't collide with "bt". llvm-svn: 107718 | |||||
* | Add a source file completer to the CommandCompleters. | Jim Ingham | 2010-06-30 | 1 | -0/+3 | |
| | | | | | | | | Add a way for the completers to say whether the completed argument should have a space inserted after is or not. Added the file name completer to the "file" command. llvm-svn: 107247 | |||||
* | Handle completing "-" and "--". | Jim Ingham | 2010-06-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 106784 | |||||
* | Very large changes that were needed in order to allow multiple connections | Greg Clayton | 2010-06-23 | 1 | -43/+25 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | Move Args.{cpp,h} and Options.{cpp,h} to Interpreter where they really belong. | Jim Ingham | 2010-06-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 106034 | |||||
* | Initial checkin of lldb code from internal Apple repo. | Chris Lattner | 2010-06-08 | 1 | -0/+448 | |
llvm-svn: 105619 |