llvm/lldb
Michał Górny 8068751189 [lldb] [gdb-remote] Refactor killing process and move it to client
Refactor the code responsible for sending the "k" packet and move it
into GDBRemoteCommunicationClient::KillProcess() method.  This is part
of refactoring to enable multiprocess support in the client,
and to support using the vKill packet instead.

As part of the refactoring, the following functional changes apply:

- Some redundant logging has been removed, as any failures are returned
  via exit_string anyway.

- SetLastStopPacket() is no longer called.  It is used only to populate
  the thread list, and since the process has just exited and we're
  terminating the process instance, there's really no reason to set it.

- On successful kill, exit_string is set to "killed", to clearly
  indicate that the process has terminated on our request rather than
  on its own.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.llvm.org/D130340
2022-07-25 18:43:32 +02:00
..
bindings [trace] Add an option to save a compact trace bundle 2022-07-13 11:43:28 -07:00
cmake [lldb] Disable modules in Apple-lldb-base 2022-05-24 17:17:14 -07:00
docs Update docs to note lzfse open source implementation 2022-07-19 01:40:40 -07:00
examples [lldb/crashlog] Show help when the command is called without any argument 2022-06-10 13:44:43 -07:00
include/lldb [lldb][AArch64] Add UnpackTagsFromCoreFileSegment to MemoryTagManager 2022-07-25 15:51:36 +01:00
packages/Python/lldbsuite [lldb] [llgs] Send process output asynchronously in non-stop mode 2022-07-15 17:20:39 +02:00
resources
scripts
source [lldb] [gdb-remote] Refactor killing process and move it to client 2022-07-25 18:43:32 +02:00
test [lldb] Make compiler-rt an optional LLDB test dependency 2022-07-25 09:28:56 -07:00
third_party/Python/module
tools Revert "[NFC] Improve FileSpec internal APIs and usage in preparation for adding caching of resolved/absolute." and follow-ups 2022-07-23 12:35:48 -04:00
unittests [lldb][AArch64] Add UnpackTagsFromCoreFileSegment to MemoryTagManager 2022-07-25 15:51:36 +01:00
utils [lldb] Refactor command option enum values (NFC) 2022-07-14 21:18:07 -07:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py