aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Utility/StringExtractorGDBRemote.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-07-16 14:14:35 +0000
committerPavel Labath <labath@google.com>2015-07-16 14:14:35 +0000
commit4a4bb12e0ddfc715e756574924389a241dad8ce4 (patch)
treeb8925c9026e19552c31e813d7f81529a1f9f95f7 /lldb/source/Utility/StringExtractorGDBRemote.cpp
parenta0cd89a4459ddd5f9a3f1f7ee35bfd9dd97e77ca (diff)
downloadllvm-4a4bb12e0ddfc715e756574924389a241dad8ce4.zip
llvm-4a4bb12e0ddfc715e756574924389a241dad8ce4.tar.gz
llvm-4a4bb12e0ddfc715e756574924389a241dad8ce4.tar.bz2
Add jThreadsInfo support to lldb-server
Summary: This commit adds initial support for the jThreadsInfo packet to lldb-server. The current implementation does not expedite inferior memory. I have also added a description of the new packet to our protocol documentation (mostly taken from Greg's earlier commit message). Reviewers: clayborg, ovyalov, tberghammer Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11187 llvm-svn: 242402
Diffstat (limited to 'lldb/source/Utility/StringExtractorGDBRemote.cpp')
-rw-r--r--lldb/source/Utility/StringExtractorGDBRemote.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Utility/StringExtractorGDBRemote.cpp b/lldb/source/Utility/StringExtractorGDBRemote.cpp
index 17ee0b6..e158569 100644
--- a/lldb/source/Utility/StringExtractorGDBRemote.cpp
+++ b/lldb/source/Utility/StringExtractorGDBRemote.cpp
@@ -221,7 +221,9 @@ StringExtractorGDBRemote::GetServerPacketType () const
break;
case 'j':
- if (PACKET_MATCHES("jSignalInfo")) return eServerPacketType_jSignalsInfo;
+ if (PACKET_MATCHES("jSignalInfo")) return eServerPacketType_jSignalsInfo;
+ if (PACKET_MATCHES("jThreadsInfo")) return eServerPacketType_jThreadsInfo;
+
case 'v':
if (PACKET_STARTS_WITH("vFile:"))