aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
diff options
context:
space:
mode:
authorLevon Ter-Grigoryan <patriosthegreat@protonmail.ch>2020-02-17 11:55:55 +0100
committerPavel Labath <pavel@labath.sk>2020-02-17 12:05:28 +0100
commitaedc196101e33bd58f7443c5b93398418ce55edf (patch)
tree1e89b7af183b9f0d10acc7f803a8827f07ea7d78 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
parent633db60f3ed071e6ae580a57c7c536ee6b20c0c6 (diff)
downloadllvm-aedc196101e33bd58f7443c5b93398418ce55edf.zip
llvm-aedc196101e33bd58f7443c5b93398418ce55edf.tar.gz
llvm-aedc196101e33bd58f7443c5b93398418ce55edf.tar.bz2
[lldb/lldb-server] Add target.xml support for qXfer request.
Summary: Synthesize target.xml in lldb-server to avoid a long chain of qRegisterInfo packets, which can be slow over low-latency links. Reviewers: jarin, labath Reviewed By: labath Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D74217
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
index abb8f63..3aec013 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
@@ -843,6 +843,7 @@ GDBRemoteCommunicationServerCommon::Handle_qSupported(
response.PutCString(";QThreadSuffixSupported+");
response.PutCString(";QListThreadsInStopReply+");
response.PutCString(";qEcho+");
+ response.PutCString(";qXfer:features:read+");
#if defined(__linux__) || defined(__NetBSD__)
response.PutCString(";QPassSignals+");
response.PutCString(";qXfer:auxv:read+");