[Lldb-commits] [lldb] r156894 - /lldb/trunk/source/Target/Process.cpp
Jim Ingham
jingham at apple.com
Tue May 15 18:32:14 PDT 2012
Author: jingham
Date: Tue May 15 20:32:14 2012
New Revision: 156894
URL: http://llvm.org/viewvc/llvm-project?rev=156894&view=rev
Log:
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.
Modified:
lldb/trunk/source/Target/Process.cpp
Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=156894&r1=156893&r2=156894&view=diff
==============================================================================
--- 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))
{
if (log)
@@ -3107,7 +3109,6 @@
}
else
{
- RefreshStateAfterStop ();
if (m_thread_list.ShouldStop (event_ptr) == false)
{
More information about the lldb-commits
mailing list