I would recommend asking this on the lldb mailing list instead. -- adrian
> On Nov 26, 2017, at 8:30 AM, Lior Halphon via llvm-dev > <llvm-...@lists.llvm.org> wrote: > > I'm trying to remotely launch and debug a new process with lldb without much > success. > > Attaching to an already launched process works well by running these commands: > > process connect <url> > process attach -P gdb-remote --pid <pid> > But if I want debugserver to launch the executable by itself I'm running into > troubles. Especially, I have no clue what arguments should I pass to target > create. > > According to this page <https://lldb.llvm.org/remote.html> LLDB "will > transparently take care of [..] downloading the executable in order to be > able to debug", yet target > create seem to always require a local file. If I specify the remote file via > -r I get either unable > to open target file or remote > --> local transfer without local path is not implemented yet errors. If I > set the target to a local file (such as a local copy of the remote's loader > executable) without using -r, then attempt to run process > launch -p gdb-remote -s <remote path> LLDB will attempt running the local > path on the remote machine and fail. > > What are the correct commands I need to use in order to launch a remote > process? > > _______________________________________________ > LLVM Developers mailing list > llvm-...@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev