summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r--lldb/source/Interpreter/CommandInterpreter.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index 3f9e902de47..6c90854c297 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -58,7 +58,7 @@ CommandInterpreter::CommandInterpreter
ScriptLanguage script_language,
bool synchronous_execution
) :
- Broadcaster ("CommandInterpreter"),
+ Broadcaster ("lldb.command-interpreter"),
m_debugger (debugger),
m_synchronous_execution (synchronous_execution),
m_skip_lldbinit_files (false)
@@ -69,7 +69,10 @@ CommandInterpreter::CommandInterpreter
var_name.Printf ("[%s].script-lang", dbg_name);
debugger.GetSettingsController()->SetVariable (var_name.GetData(), lang_name.c_str(),
lldb::eVarSetOperationAssign, false,
- m_debugger.GetInstanceName().AsCString());
+ m_debugger.GetInstanceName().AsCString());
+ SetEventName (eBroadcastBitThreadShouldExit, "thread-should-exit");
+ SetEventName (eBroadcastBitResetPrompt, "reset-prompt");
+ SetEventName (eBroadcastBitQuitCommandReceived, "quit");
}
void
OpenPOWER on IntegriCloud