summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorChaoren Lin <chaorenl@google.com>2015-05-29 19:52:37 +0000
committerChaoren Lin <chaorenl@google.com>2015-05-29 19:52:37 +0000
commit44145d79ccc10520652a098d3c426a2c21821c87 (patch)
tree48e45d84269316f4ab0e30911b0515f11e9fe660 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parentd3173f34e8546a96b8d0df0d9de133f88f10c127 (diff)
downloadbcm5719-llvm-44145d79ccc10520652a098d3c426a2c21821c87.tar.gz
bcm5719-llvm-44145d79ccc10520652a098d3c426a2c21821c87.zip
Working directory FileSpec should use remote path syntax to display correctly.
Summary: Depends on D9728. Reviewers: ovyalov, zturner, clayborg Reviewed By: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9806 llvm-svn: 238605
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index 0a1ec3f962c..2c21a25e725 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -2301,7 +2301,7 @@ GDBRemoteCommunicationClient::GetWorkingDir(FileSpec &working_dir)
return false;
std::string cwd;
response.GetHexByteString(cwd);
- working_dir.SetFile(cwd, false);
+ working_dir.SetFile(cwd, false, GetHostArchitecture());
return !cwd.empty();
}
return false;
OpenPOWER on IntegriCloud