[Lldb-commits] [PATCH] D16861: Pass socket scheme as part of debug server listen URL
Oleksiy Vyalov via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 3 10:55:28 PST 2016
ovyalov created this revision.
ovyalov added reviewers: sivachandra, tberghammer.
ovyalov added a subscriber: lldb-commits.
Pass socket scheme as part of debug server listen URL in order to fix custom protocols like unix-abstract.
http://reviews.llvm.org/D16861
Files:
source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
Index: source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
===================================================================
--- source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
+++ source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
@@ -135,6 +135,7 @@
assert(ok);
std::ostringstream url;
+ url << m_socket_scheme << "://";
uint16_t* port_ptr = &port;
if (m_socket_protocol == Socket::ProtocolTcp)
url << platform_ip << ":" << port;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16861.46805.patch
Type: text/x-patch
Size: 542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160203/69f0df93/attachment.bin>
More information about the lldb-commits
mailing list