summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/InputReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/InputReader.cpp')
-rw-r--r--lldb/source/Core/InputReader.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/lldb/source/Core/InputReader.cpp b/lldb/source/Core/InputReader.cpp
index c6e90eb54d7..84cd0a15f84 100644
--- a/lldb/source/Core/InputReader.cpp
+++ b/lldb/source/Core/InputReader.cpp
@@ -370,3 +370,14 @@ InputReader::GranularityAsCString (lldb::InputReaderGranularity granularity)
return unknown_state_string;
}
+bool
+InputReader::HandlerData::GetBatchMode()
+{
+ return reader.GetDebugger().GetCommandInterpreter().GetBatchCommandMode();
+}
+
+lldb::StreamSP
+InputReader::HandlerData::GetOutStream()
+{
+ return reader.GetDebugger().GetAsyncOutputStream();
+} \ No newline at end of file
OpenPOWER on IntegriCloud