commit | 464c6161464694412b7472129e789248f1cf21b9 | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Thu Nov 17 22:14:31 2011 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Thu Nov 17 22:14:31 2011 +0000 |
tree | 8560c2d08909d1840fc2bf606d4e2cd3983a4468 | |
parent | 028d8ebd7e97d46e3de13fd977f8a17d6bf246f5 [diff] [blame] |
Use a pseudoterminal for local processes if no STDIO redirection or other file actions have been specified. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144922 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 95d452f..ba64312 100644 --- a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -593,7 +593,7 @@ if (!disable_stdio) { if (pty.GetMasterFileDescriptor() != lldb_utility::PseudoTerminal::invalid_fd) - SetUpProcessInputReader (pty.ReleaseMasterFileDescriptor()); + SetSTDIOFileDescriptor (pty.ReleaseMasterFileDescriptor()); } } }