[Lldb-commits] [lldb] 871e3dc - [lldb] Fixup #117699 for windows builds

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 28 02:13:53 PST 2024


Author: Pavel Labath
Date: 2024-11-28T11:13:29+01:00
New Revision: 871e3dc8d8717bbcf5e3ad44331a21c3417c2639

URL: https://github.com/llvm/llvm-project/commit/871e3dc8d8717bbcf5e3ad44331a21c3417c2639
DIFF: https://github.com/llvm/llvm-project/commit/871e3dc8d8717bbcf5e3ad44331a21c3417c2639.diff

LOG: [lldb] Fixup #117699 for windows builds

Added: 
    

Modified: 
    lldb/tools/lldb-server/lldb-gdbserver.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/tools/lldb-server/lldb-gdbserver.cpp b/lldb/tools/lldb-server/lldb-gdbserver.cpp
index bc93c837a107bd..ed10c161b6b2f6 100644
--- a/lldb/tools/lldb-server/lldb-gdbserver.cpp
+++ b/lldb/tools/lldb-server/lldb-gdbserver.cpp
@@ -210,9 +210,8 @@ void ConnectToRemote(MainLoop &mainloop,
                                     error.AsCString());
       exit(-1);
     }
-    connection_up =
-        std::unique_ptr<Connection>(new ConnectionFileDescriptor(new TCPSocket(
-            sockfd, /*should_close=*/true, /*child_processes_inherit=*/false)));
+    connection_up = std::unique_ptr<Connection>(new ConnectionFileDescriptor(
+        new TCPSocket(sockfd, /*should_close=*/true)));
 #else
     url = llvm::formatv("fd://{0}", connection_fd).str();
 


        


More information about the lldb-commits mailing list