Fixes #59152
Change-Id: I7f89e2b48db9ff120d7cd094b72ded865874e961
Reviewed-on: https://go-review.googlesource.com/c/go/+/478135
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
func (c *sigctxt) rbp() uint64 { return c.regs().__gregs[_REG_RBP] }
func (c *sigctxt) rsp() uint64 { return c.regs().__gregs[_REG_RSP] }
func (c *sigctxt) r8() uint64 { return c.regs().__gregs[_REG_R8] }
-func (c *sigctxt) r9() uint64 { return c.regs().__gregs[_REG_R8] }
+func (c *sigctxt) r9() uint64 { return c.regs().__gregs[_REG_R9] }
func (c *sigctxt) r10() uint64 { return c.regs().__gregs[_REG_R10] }
func (c *sigctxt) r11() uint64 { return c.regs().__gregs[_REG_R11] }
func (c *sigctxt) r12() uint64 { return c.regs().__gregs[_REG_R12] }