[Lldb-commits] [lldb] 9c9afbb - [lldb] Document QSetDetachOnError packet

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 1 14:10:17 PDT 2022


Author: Felipe de Azevedo Piovezan
Date: 2022-11-01T14:09:33-07:00
New Revision: 9c9afbb76f82004efef4bb1be843661f8d89bcaa

URL: https://github.com/llvm/llvm-project/commit/9c9afbb76f82004efef4bb1be843661f8d89bcaa
DIFF: https://github.com/llvm/llvm-project/commit/9c9afbb76f82004efef4bb1be843661f8d89bcaa.diff

LOG: [lldb] Document QSetDetachOnError packet

The packet was introduced in 106d02866d4d54b09c08e6a12915dba58e709294.

Differential Revision: https://reviews.llvm.org/D136958

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/docs/lldb-gdb-remote.txt b/lldb/docs/lldb-gdb-remote.txt
index 497980ed1229b..551e94d8b71ad 100644
--- a/lldb/docs/lldb-gdb-remote.txt
+++ b/lldb/docs/lldb-gdb-remote.txt
@@ -2136,3 +2136,20 @@ Example packet:
     { "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.


        


More information about the lldb-commits mailing list