diff options
author | Pavel Labath <pavel@labath.sk> | 2025-05-07 16:24:39 +0200 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2025-05-07 16:26:37 +0200 |
commit | a0260a95ece74733ada00b19d8b1930dde462a66 (patch) | |
tree | 5a18c10260f08e5eb00986eeb9dd73a63c832e63 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | |
parent | 93f61ceadb4b29e455d76a887d136a0816a67f23 (diff) | |
download | llvm-a0260a95ece74733ada00b19d8b1930dde462a66.zip llvm-a0260a95ece74733ada00b19d8b1930dde462a66.tar.gz llvm-a0260a95ece74733ada00b19d8b1930dde462a66.tar.bz2 |
Revert "[lldb] Inherit DuplicateFileAction(HANDLE, HANDLE) handles on windows (#137978)"
This reverts commit 7c5f5f3ef83b1d1d43d63862a8431af3dded15bb due to
failures on the lldb-remote-linux-win bot.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index 332b925..d8c7e43 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -924,7 +924,9 @@ Status GDBRemoteCommunication::StartDebugserverProcess( debugserver_args.AppendArgument(fd_arg.GetString()); // Send "pass_comm_fd" down to the inferior so it can use it to // communicate back with this process. Ignored on Windows. +#ifndef _WIN32 launch_info.AppendDuplicateFileAction((int)pass_comm_fd, (int)pass_comm_fd); +#endif } // use native registers, not the GDB registers |