[Lldb-commits] [lldb] update lldb-server platform help parsing (PR #162730)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 9 14:59:34 PDT 2025


================
@@ -297,9 +347,12 @@ static Status spawn_process(const char *progname, const FileSpec &prog,
 
   launch_info.SetLaunchInSeparateProcessGroup(false);
 
-  if (g_server)
+  // Set up process monitor callback based on whether we're in server mode
+  if (multi_client)
+    // In server mode: empty callback (don't terminate when child exits)
----------------
JDevlieghere wrote:

```suggestion
    // In server mode: empty callback (don't terminate when child exits).
```

https://github.com/llvm/llvm-project/pull/162730


More information about the lldb-commits mailing list