forked from OSchip/llvm-project
Add extra check that target was stopped before the *stopped is sent.
This patch fixes r228417. It's required because eStateCrushed case wasn't investigated. llvm-svn: 228824
This commit is contained in:
parent
e13c2731ba
commit
333fc18ca6
|
@ -3136,7 +3136,7 @@ Process::Launch (ProcessLaunchInfo &launch_info)
|
|||
|
||||
// Target was stopped at entry as was intended. Need to notify the listeners
|
||||
// about it.
|
||||
if (launch_info.GetFlags().Test(eLaunchFlagStopAtEntry) == true)
|
||||
if (state == eStateStopped && launch_info.GetFlags().Test(eLaunchFlagStopAtEntry))
|
||||
HandlePrivateEvent(event_sp);
|
||||
}
|
||||
else if (state == eStateExited)
|
||||
|
|
Loading…
Reference in New Issue