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

pkg/proc: be resilient to the upcoming sys.PtraceLwpInfo changes #3284

Closed
wants to merge 1 commit into from
Closed

pkg/proc: be resilient to the upcoming sys.PtraceLwpInfo changes #3284

wants to merge 1 commit into from

Conversation

dmgk
Copy link

@dmgk dmgk commented Feb 21, 2023

As part of golang/go#58387 work (CL 469835), the signature of sys.PtraceLwpInfo will change to accept *sys.PtraceLwpInfoStruct instead of an uintptr. As a compatibility measure, update ptraceGetLwpInfo to work with both old and new sys.PtraceLwpInfo signatures.

As part of golang/go#58387 work (CL 469835), the signature of
sys.PtraceLwpInfo will change to accept *sys.PtraceLwpInfoStruct instead
of an uintptr. As a compatibility measure, update ptraceGetLwpInfo to
work with both old and new sys.PtraceLwpInfo signatures.
@aarzilli
Copy link
Member

I don't think this is necessary. Delve links to a specific version of x/sys and it only needs to support that: when we update x/sys we will change that function. I don't want to update it now because it will bump up the minimum version of Go that can build Delve by a lot of versions.

@dmgk
Copy link
Author

dmgk commented Feb 21, 2023

That makes sense, please feel free to close this PR.

@aarzilli
Copy link
Member

Closing. Thank you anyways.

@aarzilli aarzilli closed this Feb 22, 2023
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.

2 participants