[Lldb-commits] [PATCH] D136958: [lldb] Document QSetDetachOnError packet

Felipe de Azevedo Piovezan via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 28 08:42:11 PDT 2022


fdeazeve created this revision.
Herald added a project: All.
fdeazeve requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

The packet was introduced in 106d02866d4d54b09c08e6a12915dba58e709294.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136958

Files:
  lldb/docs/lldb-gdb-remote.txt


Index: lldb/docs/lldb-gdb-remote.txt
===================================================================
--- lldb/docs/lldb-gdb-remote.txt
+++ lldb/docs/lldb-gdb-remote.txt
@@ -2136,3 +2136,20 @@
     { "port": 5432 },
     { "socket_name": "foo" }
 ]
+
+//----------------------------------------------------------------------
+// "QSetDetachOnError"
+//
+// BRIEF
+//  Sets what the server should do when the communication channel with LLDB
+//  goes down. Either kill the inferior process (0) or remove breakpoints and
+//  detach (1).
+//
+// PRIORITY TO IMPLEMENT
+//  Low. Only required if the target wants to keep the inferior process alive
+//  when the communication channel goes down.
+//----------------------------------------------------------------------
+
+The data in this packet is a single a character, which should be '0' if the
+inferior process should be killed, or '1' if the server should remove all
+breakpoints and detach from the inferior.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136958.471570.patch
Type: text/x-patch
Size: 966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221028/25f06088/attachment.bin>


More information about the lldb-commits mailing list