diff options
author | Greg Clayton <gclayton@apple.com> | 2012-03-06 04:01:04 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-03-06 04:01:04 +0000 |
commit | 9845a8d54db4f9d8d53853cc1c9a47236b18070a (patch) | |
tree | 468ee8de094f4428139aa15690caef310c3ce3d8 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | |
parent | 97f7e8189149390ea4eb3daa46fac132dbb5183e (diff) | |
download | bcm5719-llvm-9845a8d54db4f9d8d53853cc1c9a47236b18070a.tar.gz bcm5719-llvm-9845a8d54db4f9d8d53853cc1c9a47236b18070a.zip |
<rdar://problem/10840355>
Fixed STDERR to not be opened as readable. Also cleaned up some of the code that implemented the file actions as some of the code was using the wrong variables, they now use the right ones (in for stdin, out for stdout, err for stderr).
llvm-svn: 152102
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp index e5141c456e6..3cd0fba95d9 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp @@ -815,7 +815,7 @@ GDBRemoteCommunicationServer::Handle_QSetSTDERR (StringExtractorGDBRemote &packe std::string path; packet.GetHexByteString(path); const bool read = true; - const bool write = true; + const bool write = false; if (file_action.Open(STDERR_FILENO, path.c_str(), read, write)) { m_process_launch_info.AppendFileAction(file_action); |