<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Remote debugging ARM linux target from x86 linux host - process launch fails"
href="https://bugs.llvm.org/show_bug.cgi?id=34183">34183</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Remote debugging ARM linux target from x86 linux host - process launch fails
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>5.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@lists.llvm.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ramana.venkat83@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>The issue is mentioned on lldb-dev list here
<a href="http://lists.llvm.org/pipermail/lldb-dev/2017-August/012594.html">http://lists.llvm.org/pipermail/lldb-dev/2017-August/012594.html</a>.
The remote debugging under the same environment works with lldb v4.0.1.
In lldb v5.0, it appears that GDBRemoteCommunication::StartDebugserverProcess()
is not able to allocate/find new port for the spawned gdbserver which is
evident from the log line
GDBRemoteCommunication::StartDebugserverProcess() debugserver listens 0 port
causing the following error on the client side.
Socket::TcpConnect (host/port = 10.10.2.3)
TCPSocket::Connect (host/port = 10.10.2.3)
error: connect remote failed (invalid host:port specification: '10.10.2.3')</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>