slydiman wrote: > I am still looking for an answer to this one. If it's only the > Handle_qLaunchGDBServer that needs to not launch an lldb-server then I don't > see why the check couldn't/shouldn't be performed there.
I cannot answer in the thread, no idea why. The answer is here https://github.com/llvm/llvm-project/pull/104238#issuecomment-2368274458 LaunchGDBServer() may be called from the child process at the beginnig if inferior_arguments are present. The behavior depends on the protocol. gdbserver will be launched in case of unix sockets. Otherwise we need to check that gdbserver is exists and wait for the tcp gdb connection. This part cannot be optimized/simplified. https://github.com/llvm/llvm-project/pull/104238 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits