diff options
author | dim <dim@FreeBSD.org> | 2015-09-06 15:21:47 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-09-06 15:21:47 +0000 |
commit | eaea1142467bd061be671b7775195ea69422a53f (patch) | |
tree | 6dbe733cbb748d293bbaa2b7616e76faff7118d5 /contrib/llvm/tools/lldb/source/Target/ProcessLaunchInfo.cpp | |
parent | ee8d011a70fa14b1e123f58d0139125f5e36173e (diff) | |
parent | 80b639cd40df427b9e325318efeec2d885a65f62 (diff) | |
download | FreeBSD-src-eaea1142467bd061be671b7775195ea69422a53f.zip FreeBSD-src-eaea1142467bd061be671b7775195ea69422a53f.tar.gz |
Update lldb to upstream trunk r242221.
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Target/ProcessLaunchInfo.cpp')
-rw-r--r-- | contrib/llvm/tools/lldb/source/Target/ProcessLaunchInfo.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/llvm/tools/lldb/source/Target/ProcessLaunchInfo.cpp b/contrib/llvm/tools/lldb/source/Target/ProcessLaunchInfo.cpp index 30c5aee..bd2e1bc 100644 --- a/contrib/llvm/tools/lldb/source/Target/ProcessLaunchInfo.cpp +++ b/contrib/llvm/tools/lldb/source/Target/ProcessLaunchInfo.cpp @@ -284,6 +284,13 @@ ProcessLaunchInfo::FinalizeFileActions (Target *target, bool default_to_use_pty) log->Printf ("ProcessLaunchInfo::%s at least one of stdin/stdout/stderr was not set, evaluating default handling", __FUNCTION__); + if (m_flags.Test(eLaunchFlagLaunchInTTY)) + { + // Do nothing, if we are launching in a remote terminal + // no file actions should be done at all. + return; + } + if (m_flags.Test(eLaunchFlagDisableSTDIO)) { if (log) |