Prefer the modern vKill packet over k if the server reports multiprocess
support. This ensures that when multiple processes are debugged over
a shared connection, only the correct one will be killed.
Sponsored by: The FreeBSD Foundation
Paths
| Differential D130341
[lldb] [gdb-remote] Use vKill packet if multiprocess & available Needs ReviewPublic Authored by mgorny on Jul 22 2022, 2:57 AM.
Details
Summary Prefer the modern vKill packet over k if the server reports multiprocess Sponsored by: The FreeBSD Foundation
Diff Detail Event Timeline
Revision Contents
Diff 446762 lldb/packages/Python/lldbsuite/test/gdbclientutils.py
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
lldb/test/API/functionalities/gdb_remote_client/TestMultiprocess.py
|
This is a host signal number (and not really available on windows). Maybe we should just return zero or indicate that we don't know the "cause of death" in some other way? (Are we sure that there's no way to determine the cause of death?)