Skip to content
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

Remove usage of getcontext() on supported platforms #4750

Closed
benpye opened this issue Dec 6, 2015 · 1 comment · Fixed by dotnet/coreclr#2254
Closed

Remove usage of getcontext() on supported platforms #4750

benpye opened this issue Dec 6, 2015 · 1 comment · Fixed by dotnet/coreclr#2254

Comments

@benpye
Copy link
Contributor

benpye commented Dec 6, 2015

We shouldn't require the use of getcontext(), BSD registers procfs, etc. getcontext() especially is deprecated in modern POSIX standards and as such libc's such as musl do not implement it. This is a blocker for supported Alpine Linux and other distributions that use musl, part of #4210 . This would then remove the need for a different way to get the registers for each platform, though it would be architecture specific.

@benpye
Copy link
Contributor Author

benpye commented Dec 6, 2015

cc: @janvorli @jkotas

Does this seem a reasonable proposal? In fact, shouldn't we be able to reuse the CaptureContext function that already exists across each architecture.

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 30, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jan 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant