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

runtime: sigctxt.r9 returns the wrong register in signal_netbsd_amd64.go #59152

Closed
Relect opened this issue Mar 20, 2023 · 2 comments
Closed
Assignees
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@Relect
Copy link

Relect commented Mar 20, 2023

func (c *sigctxt) r9() uint64 { return c.regs().__gregs[_REG_R8] }

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Mar 20, 2023
@ianlancetaylor
Copy link
Contributor

It's not clearly expressed, but there is a bug here.

@ianlancetaylor ianlancetaylor changed the title error reg runtime: sigctxt.r9 returns the wrong register in signal_netbsd_amd64.go Mar 20, 2023
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Mar 20, 2023
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/478135 mentions this issue: runtime: let (*sigctxt).r9 return the correct register value on netbsd

@heschi heschi added the NeedsFix The path to resolution is known, but the work has not been done. label Mar 21, 2023
@heschi heschi added this to the Go1.21 milestone Mar 21, 2023
@tklauser tklauser self-assigned this Mar 21, 2023
@golang golang locked and limited conversation to collaborators Mar 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

6 participants