summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2014-08-21 23:22:33 +0000
committerJason Molenda <jmolenda@apple.com>2014-08-21 23:22:33 +0000
commit6fd86771f2024d9d7bba770e789e9a287b2c9f7c (patch)
treefa6a81f8ef4cc8786e80d86db2ecc06046217fe2 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
parent0e0b4c1cda8f9146da74e6523b07b0e32786c736 (diff)
downloadbcm5719-llvm-6fd86771f2024d9d7bba770e789e9a287b2c9f7c.tar.gz
bcm5719-llvm-6fd86771f2024d9d7bba770e789e9a287b2c9f7c.zip
Two small fixes to get Mac native + debugserver working after the
HostInfo et al changes from Zachary. Changes suggested by Zachary - fixes the problems I was seeing. llvm-svn: 216243
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp2
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 f9c43263f38..1057c6d2702 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
@@ -687,7 +687,7 @@ GDBRemoteCommunication::StartDebugserverProcess (const char *hostname,
// directory.
if (HostInfo::GetLLDBPath(ePathTypeSupportExecutableDir, debugserver_file_spec))
{
- debugserver_file_spec.GetFilename().SetCString(DEBUGSERVER_BASENAME);
+ debugserver_file_spec.AppendPathComponent (DEBUGSERVER_BASENAME);
debugserver_exists = debugserver_file_spec.Exists();
if (debugserver_exists)
{
OpenPOWER on IntegriCloud