diff options
| -rw-r--r-- | lldb/lldb.xcodeproj/project.pbxproj | 2 | ||||
| -rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lldb/lldb.xcodeproj/project.pbxproj b/lldb/lldb.xcodeproj/project.pbxproj index 07e0f706ac4..c94f440a865 100644 --- a/lldb/lldb.xcodeproj/project.pbxproj +++ b/lldb/lldb.xcodeproj/project.pbxproj @@ -3621,7 +3621,7 @@ GCC_WARN_UNUSED_VARIABLE = YES; LLVM_BUILD_DIR = "$(SRCROOT)/llvm-build/$(LLVM_CONFIGURATION)"; LLVM_BUILD_DIR_ARCH = "$(CURRENT_ARCH)/"; - LLVM_CONFIGURATION = Release; + LLVM_CONFIGURATION = "Debug+Asserts"; LLVM_SOURCE_DIR = "$(SRCROOT)/llvm"; ONLY_ACTIVE_ARCH = YES; OTHER_CFLAGS = ( diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index f37bc62af40..beb73b0039d 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -1793,12 +1793,12 @@ CommandInterpreter::GetConfirmationInputReaderCallback { reader.SetIsDone(true); } - else if (bytes[0] == 'y') + else if (bytes[0] == 'y' || bytes[0] == 'Y') { *response_ptr = true; reader.SetIsDone(true); } - else if (bytes[0] == 'n') + else if (bytes[0] == 'n' || bytes[0] == 'N') { *response_ptr = false; reader.SetIsDone(true); @@ -1807,7 +1807,7 @@ CommandInterpreter::GetConfirmationInputReaderCallback { if (out_file.IsValid() && !reader.IsDone() && reader.GetPrompt()) { - out_file.Printf ("Please answer \"y\" or \"n\"\n%s", reader.GetPrompt()); + out_file.Printf ("Please answer \"y\" or \"Y\" or \"n\" or \"N\"\n%s", reader.GetPrompt()); out_file.Flush (); } } |

