Skip to content

[lldb][debugserver] Check if Rosetta debugserver exists (#110943) #9381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

jasonmolenda
Copy link

If lldb tries to attach to a process that is marked 'Translated' with debugserver, it will exec the Rosetta debugserver to handle the debug session without checking if it is present. If there is a configuration that is somehow missing this, it will fail poorly.

rdar://135641680
(cherry picked from commit c20b90a)

If lldb tries to attach to a process that is marked 'Translated' with
debugserver, it will exec the Rosetta debugserver to handle the debug
session without checking if it is present. If there is a configuration
that is somehow missing this, it will fail poorly.

rdar://135641680
(cherry picked from commit c20b90a)
@jasonmolenda jasonmolenda merged commit 29f3f60 into swiftlang:stable/20240723 Oct 3, 2024
@jasonmolenda jasonmolenda deleted the cp/r135641680-debugserver-error-out-if-cannot-find-rosetta-debugserver-20240723 branch October 3, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant