[lldb-dev] error: process launch failed: Lost debug server connection

2018-07-09 Thread NeckTwi via lldb-dev
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
 

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


Re: [lldb-dev] error: process launch failed: Lost debug server connection

2018-07-12 Thread NeckTwi via lldb-dev
I’m getting same error even if I debug on the same device.

necktwi@pi:/home/necktwi/Workspace/RemoteDebugTest/build$ lldb-server-6.0 
platform --listen "*:1234" --server
Connection established.

necktwi@pi:/home/necktwi/Workspace/RemoteDebugTest/build$ lldb-6.0 
(lldb) platform select remote-linux
  Platform: remote-linux
 Connected: no
(lldb) platform connect connect://localhost:1234
  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.RemoteDebugTest.com
 Connected: yes
WorkingDir: /home/necktwi/Workspace/RemoteDebugTest/build
(lldb) file RemoteDebugTest
Current executable set to 'RemoteDebugTest' (arm).
(lldb) run
error: process launch failed: Lost debug server connection
(lldb) 

I think it’s a bug. I tried to sign up for bugs-ad...@lists.llvm.org 
 but I didn’t get a reply though I’ve put a 
mail with my email-id and name.

… NeckTwi



___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] error: process launch failed: Lost debug server connection

2018-07-13 Thread NeckTwi via lldb-dev
I haven’t got any reply from bugs-ad...@lists.llvm.org 
. Please look into it.

… NeckTwi



___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev