https://github.com/clayborg commented:

Is there a way we can use the LLDB platform layer to pick processes? This code, 
IIUC is just running a local command to pick the process from the current host. 
But people might be debugging remotely by connecting to a remote platform. The 
equivalent of doing this on macOS:
```
(lldb) platform select remote-linux
(lldb) platform connect <url>
(lldb) platform process list
...
```
If we do this through the platform and can connect to a remote platform, then 
we can support attaching to remote process and we don't need to invent a 
classes for Darwin, Linux and Windows as this patch does.

https://github.com/llvm/llvm-project/pull/128943
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to