diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-14 22:27:00 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-14 22:28:49 -0800 |
commit | a6faf851f49c7d50e92b16ff9d2e7c02790dd0f8 (patch) | |
tree | a7ca6edf62dd994474e7607dd7d90d23b39aad28 /lldb/source/Commands/CommandObjectTarget.cpp | |
parent | c42116cc653ae1618cc49dab367d9f6addd8cfd9 (diff) | |
download | bcm5719-llvm-a6faf851f49c7d50e92b16ff9d2e7c02790dd0f8.tar.gz bcm5719-llvm-a6faf851f49c7d50e92b16ff9d2e7c02790dd0f8.zip |
[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.
Diffstat (limited to 'lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectTarget.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp index 8a5f75ab4d4..8738e850c9f 100644 --- a/lldb/source/Commands/CommandObjectTarget.cpp +++ b/lldb/source/Commands/CommandObjectTarget.cpp @@ -4686,12 +4686,8 @@ protected: new_hook_sp->GetID()); } else { m_stop_hook_sp = new_hook_sp; - m_interpreter.GetLLDBCommandsFromIOHandler( - "> ", // Prompt - *this, // IOHandlerDelegate - true, // Run IOHandler in async mode - nullptr); // Baton for the "io_handler" that will be passed back - // into our IOHandlerDelegate functions + m_interpreter.GetLLDBCommandsFromIOHandler("> ", // Prompt + *this); // IOHandlerDelegate } result.SetStatus(eReturnStatusSuccessFinishNoResult); |