[Lldb-commits] [PATCH] D98482: [lldb] Support for multiprocess extension [WIP]

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 12 06:27:39 PST 2021


mgorny updated this revision to Diff 330225.
mgorny edited the summary of this revision.
mgorny added a comment.

Updated to include `multiprocess` in `qSupported`, and proposed how to handle it server-side on the example of `H` packet. Basically, accept the correct PID of current process, reject anything else (including `0` and `-1` that do not make sense for `H`).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98482/new/

https://reviews.llvm.org/D98482

Files:
  lldb/include/lldb/Utility/StringExtractor.h
  lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  lldb/source/Utility/StringExtractor.cpp
  lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
  lldb/unittests/Utility/StringExtractorTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98482.330225.patch
Type: text/x-patch
Size: 17969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210312/b1d654a6/attachment.bin>


More information about the lldb-commits mailing list