diff options
author | Zachary Turner <zturner@google.com> | 2014-08-21 23:56:55 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2014-08-21 23:56:55 +0000 |
commit | c25146b67b74c30f909b8da5b16c9157d59033c5 (patch) | |
tree | af0be481694b6add32917e374d213c007ade9ca2 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | |
parent | c667974b6528a43bbcd6e798386ed97c8a710b42 (diff) | |
download | bcm5719-llvm-c25146b67b74c30f909b8da5b16c9157d59033c5.tar.gz bcm5719-llvm-c25146b67b74c30f909b8da5b16c9157d59033c5.zip |
Fixes a few more places where we were manually setting the filename.
llvm-svn: 216247
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index 1057c6d2702..9f230098b40 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -753,7 +753,7 @@ GDBRemoteCommunication::StartDebugserverProcess (const char *hostname, FileSpec tmpdir_file_spec; if (HostInfo::GetLLDBPath(ePathTypeLLDBTempSystemDir, tmpdir_file_spec)) { - tmpdir_file_spec.GetFilename().SetCString("debugserver-named-pipe.XXXXXX"); + tmpdir_file_spec.AppendPathComponent("debugserver-named-pipe.XXXXXX"); strncpy(named_pipe_path, tmpdir_file_spec.GetPath().c_str(), sizeof(named_pipe_path)); } else |