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;
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;
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits