Make sure the public state is eStateStopped when we return from SBTarget::LoadCore...
authorGreg Clayton <gclayton@apple.com>
Fri, 20 Feb 2015 21:51:06 +0000 (21:51 +0000)
committerGreg Clayton <gclayton@apple.com>
Fri, 20 Feb 2015 21:51:06 +0000 (21:51 +0000)
commit338d0bdc96cb6fea629e5d1d414692ef356541e6
treedb696ecf28dc57e69d82ddbe2f2f37306084de62
parent83a1437646bcb916fdd3101a4234f0bc3475c347
Make sure the public state is eStateStopped when we return from SBTarget::LoadCore() by hijacking the public event queue so we can ensure that the event gets consumed and the public state of the process (StateType SBProcess::GetState()) returns eStateStopped.

llvm-svn: 230066
lldb/source/Target/Process.cpp