[lldb] Document QSetDetachOnError packet

The packet was introduced in 106d02866d.

Differential Revision: https://reviews.llvm.org/D136958
This commit is contained in:
Felipe de Azevedo Piovezan 2022-10-28 11:39:17 -04:00
parent 0e9b8f4cb6
commit 9c9afbb76f
1 changed files with 17 additions and 0 deletions

View File

@ -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.