[Lldb-commits] [lldb] r156894 - /lldb/trunk/source/Target/Process.cpp
jingham at apple.com
Tue May 15 18:32:14 PDT 2012
Date: Tue May 15 20:32:14 2012
New Revision: 156894
Always call RefreshStateAfterStop when we get a stop event. We were skipping doing it in the case where we had interrupted the target. Presumably at some point in the past RefreshStateAfterStop was done more directly when we handled the interrupt, but it isn't any more so now we need to do it all the time.
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Tue May 15 20:32:14 2012
@@ -3099,6 +3099,8 @@
// If we are going to stop, then we always broadcast the event.
// If we aren't going to stop, let the thread plans decide if we're going to report this event.
// If no thread has an opinion, we don't report it.
+ RefreshStateAfterStop ();
if (ProcessEventData::GetInterruptedFromEvent (event_ptr))
@@ -3107,7 +3109,6 @@
- RefreshStateAfterStop ();
if (m_thread_list.ShouldStop (event_ptr) == false)
More information about the lldb-commits