summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-11-17 22:14:31 +0000
committerGreg Clayton <gclayton@apple.com>2011-11-17 22:14:31 +0000
commitee95ed5055ca307a041597f1ba300ae120a76c72 (patch)
tree2f743a07e41763d873921483521bc6b3df8866db /lldb/source/Plugins/Process/gdb-remote
parent755b2055197d2bfa4c4952ac6d292848282f6bf2 (diff)
downloadbcm5719-llvm-ee95ed5055ca307a041597f1ba300ae120a76c72.tar.gz
bcm5719-llvm-ee95ed5055ca307a041597f1ba300ae120a76c72.zip
Use a pseudoterminal for local processes if no STDIO redirection or other
file actions have been specified. llvm-svn: 144922
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp2
1 files changed, 1 insertions, 1 deletions
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());
}
}
}
OpenPOWER on IntegriCloud