summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Process.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-05-16 01:32:14 +0000
committerJim Ingham <jingham@apple.com>2012-05-16 01:32:14 +0000
commitcb4ca11bef85fb1815a289e3c5a8ed44b4fc4c1b (patch)
treee484710b84d1960a2bcff6d5b887b46e284c5b72 /lldb/source/Target/Process.cpp
parentb08a9442fd26763d84971cf88ebc972bbc860661 (diff)
downloadbcm5719-llvm-cb4ca11bef85fb1815a289e3c5a8ed44b4fc4c1b.tar.gz
bcm5719-llvm-cb4ca11bef85fb1815a289e3c5a8ed44b4fc4c1b.zip
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.
llvm-svn: 156894
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r--lldb/source/Target/Process.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index 79efa38d93d..3a9b3605511 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -3099,6 +3099,8 @@ Process::ShouldBroadcastEvent (Event *event_ptr)
// 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 @@ Process::ShouldBroadcastEvent (Event *event_ptr)
}
else
{
- RefreshStateAfterStop ();
if (m_thread_list.ShouldStop (event_ptr) == false)
{
OpenPOWER on IntegriCloud