Add an "auto-confirm" setting to the debugger so you can turn off the confirmations if you want to.

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115572 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/CommandInterpreter.cpp b/source/Interpreter/CommandInterpreter.cpp
index cfa30ea..f0704f7 100644
--- a/source/Interpreter/CommandInterpreter.cpp
+++ b/source/Interpreter/CommandInterpreter.cpp
@@ -843,7 +843,10 @@
 bool 
 CommandInterpreter::Confirm (const char *message, bool default_answer)
 {
-    // The default interpretation just pushes a new input reader and lets it get the answer:
+    // Check AutoConfirm first:
+    if (m_debugger.GetAutoConfirm())
+        return default_answer;
+        
     InputReaderSP reader_sp (new InputReader(GetDebugger()));
     bool response = default_answer;
     if (reader_sp)