diff options
author | Pavel Labath <labath@google.com> | 2017-12-11 10:09:14 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-12-11 10:09:14 +0000 |
commit | 07d6f881e7dee93771f8516e6e600abda29dac70 (patch) | |
tree | 99b496bd183b5e19f52d42a15cbd43c1bacabf3e /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 390b4879940edd78ab00d535917014df3a43bec4 (diff) | |
download | bcm5719-llvm-07d6f881e7dee93771f8516e6e600abda29dac70.tar.gz bcm5719-llvm-07d6f881e7dee93771f8516e6e600abda29dac70.zip |
Move PseudoTerminal to the lldb_private namespace
lldb_utility doesn't make sense, as it is no longer even living in the
"utility" module.
llvm-svn: 320346
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 5b2d084a0d3..35d02c15ab8 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -817,7 +817,7 @@ Status ProcessGDBRemote::DoLaunch(Module *exe_module, if (object_file) { error = EstablishConnectionIfNeeded(launch_info); if (error.Success()) { - lldb_utility::PseudoTerminal pty; + PseudoTerminal pty; const bool disable_stdio = (launch_flags & eLaunchFlagDisableSTDIO) != 0; PlatformSP platform_sp(GetTarget().GetPlatform()); @@ -946,8 +946,7 @@ Status ProcessGDBRemote::DoLaunch(Module *exe_module, SetPrivateState(SetThreadStopInfo(response)); if (!disable_stdio) { - if (pty.GetMasterFileDescriptor() != - lldb_utility::PseudoTerminal::invalid_fd) + if (pty.GetMasterFileDescriptor() != PseudoTerminal::invalid_fd) SetSTDIOFileDescriptor(pty.ReleaseMasterFileDescriptor()); } } |