llvm-project/lldb/source
Greg Clayton 45a44f3c4d Any commands that are executed through the public interface using SBCommandInterpreter::HandleCommand() are assumed to be in non-interactive mode.
Any commands that want interactivity (stdin) will need to be executed through the normal command interpreter using the debugger's in/out/err file handles, or by using "command source".

Individual commands through the API will have their STDIN disabled. The STDOUT and STDERR will be redirected into the SBCommandReturnObject argument to SBCommandInterpreter::HandleCommand() as usual.

This helps with a deadlock situation in an IDE (Xcode) where the IDE was managing the breakpoint actions by setting a breakpoint callback and doing things manually.

<rdar://problem/17386271>

llvm-svn: 213023
2014-07-15 00:25:59 +00:00
..
API Any commands that are executed through the public interface using SBCommandInterpreter::HandleCommand() are assumed to be in non-interactive mode. 2014-07-15 00:25:59 +00:00
Breakpoint Fix typos. 2014-07-01 21:22:11 +00:00
Commands Reapply typo fix. 2014-07-10 14:45:57 +00:00
Core lldb.LLDB_ARCH_DEFAULT now works correctly on Macs with haswell enabled kernels. 2014-07-14 22:53:02 +00:00
DataFormatters Fixes for broken Debian build - g++ 4.7 support. 2014-07-10 04:39:13 +00:00
Expression lldb needs to support DW_op_piece masks for values in subregister and also to be able to piece together a value that is spread across multiple registers. 2014-07-12 00:24:33 +00:00
Host lldb.LLDB_ARCH_DEFAULT now works correctly on Macs with haswell enabled kernels. 2014-07-14 22:53:02 +00:00
Interpreter Any commands that are executed through the public interface using SBCommandInterpreter::HandleCommand() are assumed to be in non-interactive mode. 2014-07-15 00:25:59 +00:00
Plugins Modified gdb-remote tests to run with automatically-chosen ports. 2014-07-14 06:24:44 +00:00
Symbol Don't crash when a SBType is handed out through the API and later used after the module that owns the type is deleted. 2014-07-11 22:43:15 +00:00
Target If Process::Finalize() has been called, don't track process state changes. 2014-07-14 23:09:29 +00:00
Utility Fix typos. 2014-07-01 21:22:11 +00:00
CMakeLists.txt Get the python scripting interface working on Windows. 2014-07-10 23:47:42 +00:00
Makefile Make lldb build with Makefiles on OS X. 2014-01-18 08:05:32 +00:00
lldb-log.cpp Fix typos. 2014-07-01 21:22:11 +00:00
lldb.cpp sanitise sign comparisons 2014-04-02 03:51:35 +00:00