[Lldb-commits] [lldb] r228824 - Add extra check that target was stopped before the *stopped is sent.
ki.stfu at gmail.com
Wed Feb 11 03:24:21 PST 2015
Date: Wed Feb 11 05:24:20 2015
New Revision: 228824
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.
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Wed Feb 11 05:24:20 2015
@@ -3136,7 +3136,7 @@ Process::Launch (ProcessLaunchInfo &laun
// 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))
else if (state == eStateExited)
More information about the lldb-commits