[Lldb-commits] [PATCH] D106192: [LLDB][GUI] Add Create Target form

Omar Emara via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 27 14:39:28 PDT 2021


OmarEmaraDev added a comment.

I still can't get remote debugging to work unfortunately, or maybe I don't understand it really. The way I understand it is as follows:

- If the remote file is specified, then that means we are creating a target for remote debugging.
- If the remote file doesn't exist, we upload the executable to the location specified by the remote file.
- If the remote file exists but the executable doesn't exist, then the remote file is downloaded to the local file. (Why? And does that mean the executable needn't exist if the remote file is specified? And also, does that mean the executable isn't a required field?)
- Everything happens using the platform of the created target, which is specified in the platform field. (When/Where does the connection with the server get established? `platform connect` connects the currently selected platform, but the target have its own platform which may not necessary be the currently selected one.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106192/new/

https://reviews.llvm.org/D106192



More information about the lldb-commits mailing list