diff options
author | Michał Górny <mgorny@moritz.systems> | 2021-03-30 13:25:06 +0200 |
---|---|---|
committer | Michał Górny <mgorny@moritz.systems> | 2021-03-30 15:09:27 +0200 |
commit | 6c1a8039de4646f6efbb3ba404d5bee5d631be67 (patch) | |
tree | 8e36f9ed4cd62d6774bc167b4d1f0ae97575f32b /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | |
parent | af7e1f07ac03074647897498358aaec165c1aaea (diff) | |
download | llvm-6c1a8039de4646f6efbb3ba404d5bee5d631be67.zip llvm-6c1a8039de4646f6efbb3ba404d5bee5d631be67.tar.gz llvm-6c1a8039de4646f6efbb3ba404d5bee5d631be67.tar.bz2 |
[lldb] [server] Support for multiprocess extension
Add a minimal support for the multiprocess extension in lldb-server.
The server indicates support for it via qSupported, and accepts
thread-ids containing a PID. However, it still does not support
debugging more than one inferior, so any other PID value results
in an error.
Differential Revision: https://reviews.llvm.org/D98482
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | 1 |
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 1ca0290..c933364 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp @@ -848,6 +848,7 @@ GDBRemoteCommunicationServerCommon::Handle_qSupported( response.PutCString(";qXfer:auxv:read+"); response.PutCString(";qXfer:libraries-svr4:read+"); #endif + response.PutCString(";multiprocess+"); return SendPacketNoLock(response.GetString()); } |