mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 19:08:21 +08:00
Revert "[lldb/API] Introduce SBProcess::ForceScriptedState method"
This reverts commit 3675e0bb67.
This commit is contained in:
@@ -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