[lldb-dev] error: process launch failed: Lost debug server connection
NeckTwi via lldb-dev
lldb-dev at lists.llvm.org
Mon Jul 9 11:26:45 PDT 2018
I have started lldb-server on remote linux in the directory where my executable need to be debugged reside.
>From my Mac I started lldb,
(lldb) platform select remote-linux
Platform: remote-linux
Connected: no
(lldb) platform connect connect://pi.local:9091
Platform: remote-linux
OS Version: 4.9.78 (4.9.78-v7+)
Kernel: #1084 SMP Thu Jan 25 18:05:49 GMT 2018
Hostname: pi
Connected: yes
WorkingDir: /Users/necktwi/Workspace/RemoteDebugTest/build
(lldb) file Test
Current executable set to ’Test' (arm).
(lldb) run
error: process launch failed: Lost debug server connection
Why the process launch failing? The executable `Test` takes parameters `-s normal`. How to feed them in? Did the process failed because of not feeding its arguments?
https://u7535577.ct.sendgrid.net/wf/click?upn=S8VPHvg5-2FzxqlLfWXPq42joHRevhhtk-2F7AY-2BEiccsimjZUugcpCB66JpJVXGiuJP_WMme76WnOQDuJvvro7-2FTNuvmvuA2PaJWS0FeALMc2HfRwekG2ZIQ8RWNZqpS5pNm5v2Zz1wFFtnx6Ph3zF8iNSWWfX8y6rvHWddW8KrUL5AvBvSkqFsqlTN7GfMpLpfTH2Q3AxmF5s7MXNNfTlnqJoXzZNk6HlZgS1M2PO-2FSPNseN-2FY4InW-2FbXqxIeMksd1zoZxZsWErX67sHW3bH3-2B-2F4PmRDmbZyH8tDMB1b-2FtwY9U-3D <https://u7535577.ct.sendgrid.net/wf/click?upn=S8VPHvg5-2FzxqlLfWXPq42joHRevhhtk-2F7AY-2BEiccsimjZUugcpCB66JpJVXGiuJP_WMme76WnOQDuJvvro7-2FTNuvmvuA2PaJWS0FeALMc2HfRwekG2ZIQ8RWNZqpS5pNm5v2Zz1wFFtnx6Ph3zF8iNV7dm0-2Bq94hE4W3QOc9WFAOg6zwWASbhH2JPaBs3Q68PTWgfk8JEaaIoNgey-2FPfqruNL9bXuIk242m2G0hkUFc431L3maGD61uEgSIIg6vUrKHJt6MMCyoWCkRn65QmflGLC62JMvkARksIdRJ3ta7Q-3D> explains how to debug a cross-built local executable on remote platform. But I am trying to debug the executable which was built on the remote.
Thank you.
… neckTwi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20180709/1a2e121a/attachment.html>
More information about the lldb-dev
mailing list