[lldb/CommandInterpreter] Remove flag that's always true (NFC)
The 'asynchronously' argument to both GetLLDBCommandsFromIOHandler and GetPythonCommandsFromIOHandler is true for all call sites. This commit simplifies the API by dropping it and giving the baton a default argument.
This commit is contained in:
1 parent
c42116cc65
commit
a6faf851f4
8 files changed
+13
-31
No files matched your search
@@ -1248,14 +1248,14 @@ void ScriptInterpreterPythonImpl::CollectDataForBreakpointCommandCallback(
|
||||
CommandReturnObject &result) {
|
||||
m_active_io_handler = eIOHandlerBreakpoint;
|
||||
m_debugger.GetCommandInterpreter().GetPythonCommandsFromIOHandler(
|
||||
" ", *this, true, &bp_options_vec);
|
||||
" ", *this, &bp_options_vec);
|
||||
}
|
||||
|
||||
void ScriptInterpreterPythonImpl::CollectDataForWatchpointCommandCallback(
|
||||
WatchpointOptions *wp_options, CommandReturnObject &result) {
|
||||
m_active_io_handler = eIOHandlerWatchpoint;
|
||||
m_debugger.GetCommandInterpreter().GetPythonCommandsFromIOHandler(
|
||||
" ", *this, true, wp_options);
|
||||
" ", *this, wp_options);
|
||||
}
|
||||
|
||||
Status ScriptInterpreterPythonImpl::SetBreakpointCommandCallbackFunction(
|
||||
|
||||
Reference in new issue
Block a user