summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterNone.cpp
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-02-26 22:26:40 +0000
committerdim <dim@FreeBSD.org>2014-02-26 22:26:40 +0000
commit09b56e694e5d4e67943f0d9c4668282053726b9f (patch)
treec09cd2cd8b06020ff76cb9b8f704cb7490621bcd /contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterNone.cpp
parent7d9059111716cc2ad4ad6f2782a9a03edcd2a81f (diff)
parent6765240e8d836b50e2135e928456ed8923b220ad (diff)
downloadFreeBSD-src-09b56e694e5d4e67943f0d9c4668282053726b9f.zip
FreeBSD-src-09b56e694e5d4e67943f0d9c4668282053726b9f.tar.gz
Merge from head up to r262536.
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterNone.cpp')
-rw-r--r--contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterNone.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterNone.cpp b/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterNone.cpp
index 6a44114..e33480d 100644
--- a/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterNone.cpp
+++ b/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterNone.cpp
@@ -11,6 +11,7 @@
#include "lldb/Interpreter/ScriptInterpreterNone.h"
#include "lldb/Core/Stream.h"
+#include "lldb/Core/StreamFile.h"
#include "lldb/Core/StringList.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Interpreter/CommandInterpreter.h"
@@ -30,14 +31,14 @@ ScriptInterpreterNone::~ScriptInterpreterNone ()
bool
ScriptInterpreterNone::ExecuteOneLine (const char *command, CommandReturnObject *, const ExecuteScriptOptions&)
{
- m_interpreter.GetDebugger().GetErrorStream().PutCString ("error: there is no embedded script interpreter in this mode.\n");
+ m_interpreter.GetDebugger().GetErrorFile()->PutCString ("error: there is no embedded script interpreter in this mode.\n");
return false;
}
void
ScriptInterpreterNone::ExecuteInterpreterLoop ()
{
- m_interpreter.GetDebugger().GetErrorStream().PutCString ("error: there is no embedded script interpreter in this mode.\n");
+ m_interpreter.GetDebugger().GetErrorFile()->PutCString ("error: there is no embedded script interpreter in this mode.\n");
}
OpenPOWER on IntegriCloud