[Lldb-commits] [lldb] [lldb] Improved lldb-server stability for remote launching (PR #100659)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 25 14:57:29 PDT 2024


================
@@ -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) {
----------------
bulbazord wrote:

Maybe it would be a good idea to make the timeout configurable?

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


More information about the lldb-commits mailing list