llvm-project/lldb/source/Interpreter
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
..
Args.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CMakeLists.txt Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandHistory.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
CommandInterpreter.cpp __arm64__ and __aarch64__ #ifdef adjustments 2014-07-09 01:29:05 +00:00
CommandObject.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
CommandObjectRegexCommand.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
CommandObjectScript.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
CommandObjectScript.h Fix a few more clang (3.2) warnings on Linux: 2012-12-07 22:21:08 +00:00
CommandOptionValidators.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandReturnObject.cpp 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
Makefile Don't build LLDBWrapPython.cpp for mingw. 2014-03-21 12:53:28 +00:00
OptionGroupArchitecture.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionGroupBoolean.cpp Fix tests broken by the OptionValidator changes. 2014-07-09 16:32:07 +00:00
OptionGroupFile.cpp Fix tests broken by the OptionValidator changes. 2014-07-09 16:32:07 +00:00
OptionGroupFormat.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionGroupOutputFile.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionGroupPlatform.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionGroupString.cpp Fix tests broken by the OptionValidator changes. 2014-07-09 16:32:07 +00:00
OptionGroupUInt64.cpp Fix tests broken by the OptionValidator changes. 2014-07-09 16:32:07 +00:00
OptionGroupUUID.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionGroupValueObjectDisplay.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionGroupVariable.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionGroupWatchpoint.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionValue.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
OptionValueArch.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
OptionValueArgs.cpp Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
OptionValueArray.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
OptionValueBoolean.cpp lldb: remove adhoc implementation of array_sizeof 2014-06-27 05:17:41 +00:00
OptionValueDictionary.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
OptionValueEnumeration.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
OptionValueFileSpec.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
OptionValueFileSpecLIst.cpp Sort out a number of mismatched integer types in order to cut down the number of compiler warnings. 2013-06-19 19:04:53 +00:00
OptionValueFormat.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
OptionValuePathMappings.cpp Sort out a number of mismatched integer types in order to cut down the number of compiler warnings. 2013-06-19 19:04:53 +00:00
OptionValueProperties.cpp Fix a few typos. 2014-06-27 02:42:12 +00:00
OptionValueRegex.cpp Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
OptionValueSInt64.cpp Resolve printf formatting warnings on Linux: 2012-11-29 21:49:15 +00:00
OptionValueString.cpp Now that "settings set" will strip leading and trailing spaces, we need a way to be able to specify string values that contain spaces. So now settings setting <property> <value>" can have a <value> that is quoted: 2013-03-06 02:19:38 +00:00
OptionValueUInt64.cpp Resolve printf formatting warnings on Linux: 2012-11-29 21:49:15 +00:00
OptionValueUUID.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
Options.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
Property.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
PythonDataObjects.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
ScriptInterpreter.cpp Windows build fixes and removal of endlessly recursive termination function. 2014-07-04 06:58:01 +00:00
ScriptInterpreterNone.cpp Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
ScriptInterpreterPython.cpp 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
embedded_interpreter.py Suppress python readline module under Linux to fix a seg fault. 2014-02-26 07:39:20 +00:00