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:
Daniel Malea 2013-02-13 22:00:44 +00:00
parent 3ffeb68dd7
commit 5703bdcc49
1 changed files with 4 additions and 0 deletions

View File

@ -185,6 +185,10 @@ POSIXThread::Resume()
SetState(resume_state);
status = monitor.SingleStep(GetID(), GetResumeSignal());
break;
case lldb::eStateStopped:
case lldb::eStateSuspended:
status = true;
break;
}
return status;