[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:
@@ -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