================
@@ -201,7 +201,7 @@ struct ForkLaunchInfo {
execve(info.argv[0], const_cast<char *const *>(info.argv), info.envp);
#if defined(__linux__)
- if (errno == ETXTBSY) {
+ for (int i = 0; i < 50; ++i) {
----------------
slydiman wrote:
I think it is redundant. Currently lldb-server contains a hardcoded timeout in
many places. Note the total timeout 10 seconds will cause the error "Sending
vRun packet failed". So 5 seconds is good enough for the stable connection and
do the trick on slow machines.
https://github.com/llvm/llvm-project/pull/100659
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits