summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-01-05 13:18:46 +0000
committerPavel Labath <labath@google.com>2017-01-05 13:18:46 +0000
commit763f1c453b59970c76c93f919b1514ab5c533c70 (patch)
tree356f7dd5d2a906f645e0b1e4602af7d1d22c68a7 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parentf31c9d27a47314afdba50996d8a705fb8e9e6dad (diff)
downloadbcm5719-llvm-763f1c453b59970c76c93f919b1514ab5c533c70.tar.gz
bcm5719-llvm-763f1c453b59970c76c93f919b1514ab5c533c70.zip
Fix jModulesInfo handling for cross-path syntax debugging
We were sending paths with the host path separator, which meant the remote target did not understand our packets correctly. llvm-svn: 291103
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 f9bbaef6021..55551b267e8 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -3246,7 +3246,7 @@ GDBRemoteCommunicationClient::GetModulesInfo(
JSONObject::SP module_sp = std::make_shared<JSONObject>();
module_array_sp->AppendObject(module_sp);
module_sp->SetObject(
- "file", std::make_shared<JSONString>(module_file_spec.GetPath()));
+ "file", std::make_shared<JSONString>(module_file_spec.GetPath(false)));
module_sp->SetObject("triple",
std::make_shared<JSONString>(triple.getTriple()));
}
OpenPOWER on IntegriCloud