summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-07-23 09:09:29 +0000
committerPavel Labath <labath@google.com>2015-07-23 09:09:29 +0000
commit05569f679a132d146252f31810409d176438a9ac (patch)
treea162d23f81544c784727aa5ac9274302191e2832 /lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
parent5a95b0a043fda62f8ee2cbf8e09e61a7729a9af2 (diff)
downloadbcm5719-llvm-05569f679a132d146252f31810409d176438a9ac.tar.gz
bcm5719-llvm-05569f679a132d146252f31810409d176438a9ac.zip
Add jstopinfo support to llgs
Summary: This adds support for jstopinfo field of stop-reply packets. This field enables us to avoid querying full thread stop data on most stops (see r242593 for more details). Reviewers: ovyalov, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11415 llvm-svn: 242997
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp')
-rw-r--r--lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
index 8950702c532..7ce95f0087f 100644
--- a/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
+++ b/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
@@ -362,14 +362,14 @@ NativeThreadLinux::SetStoppedByTrace ()
}
void
-NativeThreadLinux::SetSuspended ()
+NativeThreadLinux::SetStoppedWithNoReason ()
{
- const StateType new_state = StateType::eStateSuspended;
+ const StateType new_state = StateType::eStateStopped;
MaybeLogStateChange (new_state);
m_state = new_state;
- // FIXME what makes sense here? Do we need a suspended StopReason?
m_stop_info.reason = StopReason::eStopReasonNone;
+ m_stop_info.details.signal.signo = 0;
}
void
OpenPOWER on IntegriCloud