Try enabling logging with:

(lldb) log enable -f /tmp/packets.txt gdb-remote packets

And the try the attach. It might be a lldb-server issue?

> On May 31, 2018, at 9:02 AM, Ryan Lovelett via lldb-dev 
> <lldb-dev@lists.llvm.org> wrote:
> 
> I am attempting to use: process attach --name "<name>" --waitfor
> 
> The problem is that it immediately returns error: attach failed: lost 
> connection.
> 
> Is this something I can troubleshoot further? Or is this not supported on 
> Linux?
> 
> -- 
>  Ryan Lovelett
> _______________________________________________
> lldb-dev mailing list
> lldb-dev@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

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

Reply via email to