forked from OSchip/llvm-project
Allow expression evaluation to work when multiple threads exist in the inferior (on Linux)
- handle m_resume_state == eStateStopped || eStateSuspended in DoResume rather than asserting llvm-svn: 175094
This commit is contained in:
parent
3ffeb68dd7
commit
5703bdcc49
|
|
@ -185,6 +185,10 @@ POSIXThread::Resume()
|
||||||
SetState(resume_state);
|
SetState(resume_state);
|
||||||
status = monitor.SingleStep(GetID(), GetResumeSignal());
|
status = monitor.SingleStep(GetID(), GetResumeSignal());
|
||||||
break;
|
break;
|
||||||
|
case lldb::eStateStopped:
|
||||||
|
case lldb::eStateSuspended:
|
||||||
|
status = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue