summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorIlia K <ki.stfu@gmail.com>2015-03-23 22:45:13 +0000
committerIlia K <ki.stfu@gmail.com>2015-03-23 22:45:13 +0000
commitacf28bea84bf1c40a41177bfe6f57e77033fc448 (patch)
tree4ea691752052d71d8404d3d06eeb12227c187c0b /lldb/scripts/Python
parent481f4146cd70489a67e2f5aaa06982816ba3e4ba (diff)
downloadbcm5719-llvm-acf28bea84bf1c40a41177bfe6f57e77033fc448.tar.gz
bcm5719-llvm-acf28bea84bf1c40a41177bfe6f57e77033fc448.zip
Turn off 'quit' confirmation in lldb-mi
Summary: # Turn off interpreter.prompt-on-quit on startup (MI) # Add CommandInterpreter::SetPromptOnQuit # Add SBCommandInterpreter::GetPromptOnQuit/SetPromptOnQuit All tests pass on OS X. Test Plan: ``` -file-exec-and-symbols ~/p/hello -break-insert -f main -exec-run -interpreter-exec console quit ``` Reviewers: abidh, clayborg Reviewed By: abidh, clayborg Subscribers: lldb-commits, clayborg, abidh Differential Revision: http://reviews.llvm.org/D8444 llvm-svn: 233034
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r--lldb/scripts/Python/interface/SBCommandInterpreter.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBCommandInterpreter.i b/lldb/scripts/Python/interface/SBCommandInterpreter.i
index dfa3ce600bf..91904c5fd21 100644
--- a/lldb/scripts/Python/interface/SBCommandInterpreter.i
+++ b/lldb/scripts/Python/interface/SBCommandInterpreter.i
@@ -150,6 +150,12 @@ public:
GetIOHandlerControlSequence(char ch);
bool
+ GetPromptOnQuit();
+
+ void
+ SetPromptOnQuit(bool b);
+
+ bool
CommandExists (const char *cmd);
bool
OpenPOWER on IntegriCloud