[lldb/API] Introduce SBProcess::ForceScriptedState method
authorMed Ismail Bennani <medismail.bennani@gmail.com>
Mon, 13 Mar 2023 22:34:29 +0000 (15:34 -0700)
committerMed Ismail Bennani <medismail.bennani@gmail.com>
Tue, 25 Apr 2023 22:02:33 +0000 (15:02 -0700)
commit0d77e034749f57676fd79e4a5b560be4d5b52b48
treed85256a7a8c58acfae88b62742f877a7f1d0909b
parent7be8341f19bfd9baf979ecadef22d1bcaa47b54e
[lldb/API] Introduce SBProcess::ForceScriptedState method

This patch introduces a new method to the SBProcess API called
ForceScriptedState. As the name suggests, this affordance will allow the
user to alter the state of the scripted process programatically.

This is necessary to update the scripted process state when perform
interactive debugging.

Differential Revision: https://reviews.llvm.org/D145294

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
lldb/include/lldb/API/SBProcess.h
lldb/include/lldb/Target/Process.h
lldb/source/API/SBProcess.cpp
lldb/source/Plugins/Process/scripted/ScriptedProcess.h