forked from OSchip/llvm-project
Check that RestartedFromEvent flag before processing the state changed event.
Not checking for this flags caused lldb-mi to issue stop notification when target has started running again. It also tried to get stack when target was running and this caused randon failure. Approved in http://lists.cs.uiuc.edu/pipermail/lldb-dev/2015-March/006953.html llvm-svn: 232370
This commit is contained in:
parent
c759e5472e
commit
943483f451
|
@ -800,6 +800,8 @@ CMICmnLLDBDebuggerHandleEvents::HandleEventSBCommandInterpreter(const lldb::SBEv
|
|||
bool
|
||||
CMICmnLLDBDebuggerHandleEvents::HandleProcessEventBroadcastBitStateChanged(const lldb::SBEvent &vEvent)
|
||||
{
|
||||
if (lldb::SBProcess::GetRestartedFromEvent (vEvent))
|
||||
return true;
|
||||
bool bOk = ChkForStateChanges();
|
||||
bOk = bOk && GetProcessStdout();
|
||||
bOk = bOk && GetProcessStderr();
|
||||
|
|
Loading…
Reference in New Issue