diff options
author | Vince Harron <vharron@google.com> | 2015-02-13 19:15:24 +0000 |
---|---|---|
committer | Vince Harron <vharron@google.com> | 2015-02-13 19:15:24 +0000 |
commit | 4a8abd3f944dfa15b505e665366c9f06b10e667d (patch) | |
tree | 44cfcda6bf6020e7deca8b95a0743492c00816f8 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 99eeb8aae4aa7fc650daba4566bfefc30cad09e4 (diff) | |
download | bcm5719-llvm-4a8abd3f944dfa15b505e665366c9f06b10e667d.tar.gz bcm5719-llvm-4a8abd3f944dfa15b505e665366c9f06b10e667d.zip |
Fix TestProcessIO.py when run against a remote target
Fixed test case to copy redirected stdout/stderr files from remote
target to host
llgs wasn't bothering to put the pty master file handle in the right
place if stdout/stderr were redirected to a file. It is still needed
for stdin.
Corrected some log message text
llvm-svn: 229141
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 4ad82eb170b..88b94cc100d 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -784,7 +784,7 @@ ProcessGDBRemote::DoLaunch (Module *exe_module, ProcessLaunchInfo &launch_info) if (log) { if (stdin_path || stdout_path || stderr_path) - log->Printf ("ProcessGDBRemote::%s provided with STDIO paths via launch_info: stdin=%s, stdout=%s, stdout=%s", + log->Printf ("ProcessGDBRemote::%s provided with STDIO paths via launch_info: stdin=%s, stdout=%s, stderr=%s", __FUNCTION__, stdin_path ? stdin_path : "<null>", stdout_path ? stdout_path : "<null>", @@ -856,7 +856,7 @@ ProcessGDBRemote::DoLaunch (Module *exe_module, ProcessLaunchInfo &launch_info) stderr_path = slave_name; if (log) - log->Printf ("ProcessGDBRemote::%s adjusted STDIO paths for local platform (IsHost() is true) using slave: stdin=%s, stdout=%s, stdout=%s", + log->Printf ("ProcessGDBRemote::%s adjusted STDIO paths for local platform (IsHost() is true) using slave: stdin=%s, stdout=%s, stderr=%s", __FUNCTION__, stdin_path ? stdin_path : "<null>", stdout_path ? stdout_path : "<null>", @@ -864,7 +864,7 @@ ProcessGDBRemote::DoLaunch (Module *exe_module, ProcessLaunchInfo &launch_info) } if (log) - log->Printf ("ProcessGDBRemote::%s final STDIO paths after all adjustments: stdin=%s, stdout=%s, stdout=%s", + log->Printf ("ProcessGDBRemote::%s final STDIO paths after all adjustments: stdin=%s, stdout=%s, stderr=%s", __FUNCTION__, stdin_path ? stdin_path : "<null>", stdout_path ? stdout_path : "<null>", |