[Lldb-commits] [PATCH] D84263: [debugserver/Apple Silicon] Handoff connections when attaching to translated processes

Jason Molenda via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 21 14:26:16 PDT 2020


jasonmolenda added a comment.

With this patch, debugging a translated app will only work when we invoke debugserver with --fd for its communication back to lldb.  e.g. running 'debugserver localhost:2000 --attach=translated-app' will pass -fd=-1 as a command line argument to /Library/Apple/usr/libexec/oah/debugserver.  Doing this properly would involve passing the same hostspec:portnum that debugserver received in this case -- but could we at least error out in DNBProcessAttach if communcation_fd==-1 so it's clear that this is not yet a supported workflow?


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

https://reviews.llvm.org/D84263





More information about the lldb-commits mailing list