llvm-project/lldb/tools
Greg Clayton eea37eed5d <rdar://problem/13764135>
The "lldb" driver was interfering with STDOUT and STDERR if the output was over 1024 charcters long. The output was grabbing 1024 characters at a time, before it output the characters, it was writing characters to the screen to clear the current line. This has been fixed.

I also fixed the command interpreter from mixing the "(lldb) " prompt in with program output by always manually checking for program output. This was done by having the command interpreter know when it is in the middle of executing a command by setting a bool. This was needed since sometimes when a command would run the target, like with a command like 'expression (int)printf("hello\n")', the process would push a new input reader, and then pop it when it was done. This popping of the input reader would cause the command interpreter to get sent a reactivated message (from the private process state thread) and cause it to ask for another command, even though we were still in the middle of the command ('expression (int)printf("hello\n")'). Now we set a bool to true, run the command and set the bool to false. If we get reactivated while we are in the middle of a command, we don't say we are ready for a new command. This coupled with emitting the STDOUT/STDERR first after each command, followed by the command results, followed by then saying we are ready for a new command, should help cleanup the command line output on all platforms.

llvm-svn: 181807
2013-05-14 17:36:51 +00:00
..
darwin-debug <rdar://problem/13665446> 2013-04-24 17:53:59 +00:00
darwin-threads Add an option to resume a suspended task. 2013-04-30 23:43:52 +00:00
debugserver fix a couple of clang static analyzer warnings. 2013-05-04 00:39:52 +00:00
driver <rdar://problem/13764135> 2013-05-14 17:36:51 +00:00
install-headers Updated Apple LLDB version to lldb-300.99.0. Also 2013-03-07 22:29:06 +00:00
lldb-perf <rdar://problem/13732521> 2013-05-02 22:40:22 +00:00
lldb-platform After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11. 2013-04-18 22:45:39 +00:00
CMakeLists.txt Finish up CMake support for LLDB (tested on Linux) 2013-02-28 23:11:46 +00:00
Makefile FreeBSD patch that enabled the lldb-platform to be built from Viktor Kutuzov. 2012-03-29 17:46:11 +00:00