diff options
| author | Med Ismail Bennani <medismail.bennani@gmail.com> | 2023-03-02 12:46:18 -0800 |
|---|---|---|
| committer | Med Ismail Bennani <medismail.bennani@gmail.com> | 2023-03-02 12:46:18 -0800 |
| commit | b970e725d8fd3f9b3d587e5203efd5e6f2e84e9a (patch) | |
| tree | c4eefc8f56119f593c568b782407162810ed803a /lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp | |
| parent | 6de18eb050a66544cc38210024860366b84faf35 (diff) | |
Revert "[lldb/Interpreter] Fix build failures in ScriptInterpreterLua"
This reverts commit 6de18eb050a66544cc38210024860366b84faf35.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp')
| -rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp index bbdda3284c19..ec0992583145 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp @@ -111,7 +111,7 @@ public: io_handler.GetUserData()); for (BreakpointOptions &bp_options : *bp_options_vec) { Status error = m_script_interpreter.SetBreakpointCommandCallback( - bp_options, data.c_str(), /*is_callback=*/false); + bp_options, data.c_str()); if (error.Fail()) *io_handler.GetErrorStreamFileSP() << error.AsCString() << '\n'; } @@ -121,8 +121,7 @@ public: auto *wp_options = static_cast<WatchpointOptions *>(io_handler.GetUserData()); m_script_interpreter.SetWatchpointCommandCallback(wp_options, - data.c_str(), - /*is_callback=*/false); + data.c_str()); io_handler.SetIsDone(true); } break; case eIOHandlerNone: @@ -349,7 +348,7 @@ Status ScriptInterpreterLua::SetBreakpointCommandCallbackFunction( } Status ScriptInterpreterLua::SetBreakpointCommandCallback( - BreakpointOptions &bp_options, const char *command_body_text, bool is_callback) { + BreakpointOptions &bp_options, const char *command_body_text) { return RegisterBreakpointCallback(bp_options, command_body_text, {}); } @@ -369,7 +368,7 @@ Status ScriptInterpreterLua::RegisterBreakpointCallback( } void ScriptInterpreterLua::SetWatchpointCommandCallback( - WatchpointOptions *wp_options, const char *command_body_text, bool is_callback) { + WatchpointOptions *wp_options, const char *command_body_text) { RegisterWatchpointCallback(wp_options, command_body_text, {}); } |
