[lldb-dev] [Bug 34183] New: Remote debugging ARM linux target from x86 linux host - process launch fails

via lldb-dev lldb-dev at lists.llvm.org
Mon Aug 14 08:13:40 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=34183

            Bug ID: 34183
           Summary: Remote debugging ARM linux target from x86 linux host
                    - process launch fails
           Product: lldb
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: ramana.venkat83 at gmail.com
                CC: llvm-bugs at lists.llvm.org

The issue is mentioned on lldb-dev list here
http://lists.llvm.org/pipermail/lldb-dev/2017-August/012594.html.

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')

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170814/c38018fa/attachment.html>


More information about the lldb-dev mailing list