From ee95ed5055ca307a041597f1ba300ae120a76c72 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Thu, 17 Nov 2011 22:14:31 +0000 Subject: Use a pseudoterminal for local processes if no STDIO redirection or other file actions have been specified. llvm-svn: 144922 --- lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/Process/gdb-remote') diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 95d452f65bb..ba6431291ad 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -593,7 +593,7 @@ ProcessGDBRemote::DoLaunch (Module *exe_module, const ProcessLaunchInfo &launch_ if (!disable_stdio) { if (pty.GetMasterFileDescriptor() != lldb_utility::PseudoTerminal::invalid_fd) - SetUpProcessInputReader (pty.ReleaseMasterFileDescriptor()); + SetSTDIOFileDescriptor (pty.ReleaseMasterFileDescriptor()); } } } -- cgit v1.2.3