diff options
author | Ilia K <ki.stfu@gmail.com> | 2015-03-17 16:54:52 +0000 |
---|---|---|
committer | Ilia K <ki.stfu@gmail.com> | 2015-03-17 16:54:52 +0000 |
commit | 8a00a562c5c93516ea2e1b45e7b37313a13ae0e5 (patch) | |
tree | ef0dc6bc2a84fddf3842abd2bc60d416335767ce /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | d58230b9dcb3b312a2da8f874daa0cc8dc27da9b (diff) | |
download | bcm5719-llvm-8a00a562c5c93516ea2e1b45e7b37313a13ae0e5.tar.gz bcm5719-llvm-8a00a562c5c93516ea2e1b45e7b37313a13ae0e5.zip |
Fix broadcasters for interpreter and process:
# Fix CommandInterpreter.Broadcaster name (it should be the same as CommandInterpreter::GetStaticBroadcasterClass())
# Prevent the same error in Process.Broadcaster
# Fix SBCommandInterpreter::GetBroadcasterClass (it should call CommandInterpreter::GetStaticBroadcasterClass(), was Communication::GetStaticBroadcasterClass())
llvm-svn: 232500
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index dccf1f8e240..eaa21adc139 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -109,7 +109,7 @@ CommandInterpreter::CommandInterpreter ScriptLanguage script_language, bool synchronous_execution ) : - Broadcaster (&debugger, "lldb.command-interpreter"), + Broadcaster (&debugger, CommandInterpreter::GetStaticBroadcasterClass().AsCString()), Properties(OptionValuePropertiesSP(new OptionValueProperties(ConstString("interpreter")))), IOHandlerDelegate (IOHandlerDelegate::Completion::LLDBCommand), m_debugger (debugger), |