Revert "[lldb/API] Introduce SBProcess::ForceScriptedState method"
This reverts commit 3675e0bb67.
This commit is contained in:
1 parent
601583e5a3
commit
480eb74498
4 files changed
-24
No files matched your search
@@ -466,16 +466,6 @@ SBEvent SBProcess::GetStopEventForStopID(uint32_t stop_id) {
|
||||
return sb_event;
|
||||
}
|
||||
|
||||
void SBProcess::ForceScriptedState(StateType new_state) {
|
||||
LLDB_INSTRUMENT_VA(this, new_state);
|
||||
|
||||
if (ProcessSP process_sp = GetSP()) {
|
||||
std::lock_guard<std::recursive_mutex> guard(
|
||||
process_sp->GetTarget().GetAPIMutex());
|
||||
process_sp->ForceScriptedState(new_state);
|
||||
}
|
||||
}
|
||||
|
||||
StateType SBProcess::GetState() {
|
||||
LLDB_INSTRUMENT_VA(this);
|
||||
|
||||
|
||||
Reference in new issue
Block a user