]> Cypherpunks.ru repositories - gostls13.git/commitdiff
runtime: dump rdx on windows
authorMichael Pratt <mpratt@google.com>
Fri, 8 Sep 2023 20:12:44 +0000 (16:12 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 8 Sep 2023 20:27:22 +0000 (20:27 +0000)
CL 177090043 accidentally dropped RDX when converting from C.

Change-Id: I6bf9dc1b1d0c2850967005c048245d1185dcede4
Reviewed-on: https://go-review.googlesource.com/c/go/+/526976
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>

src/runtime/defs_windows_amd64.go

index 20c9c4d9325bfbf782aea933ef65fbc3ce47c02f..0cf256205fe4d4c7acd7c3120834f0364c373499 100644 (file)
@@ -80,6 +80,7 @@ func dumpregs(r *context) {
        print("rax     ", hex(r.rax), "\n")
        print("rbx     ", hex(r.rbx), "\n")
        print("rcx     ", hex(r.rcx), "\n")
+       print("rdx     ", hex(r.rdx), "\n")
        print("rdi     ", hex(r.rdi), "\n")
        print("rsi     ", hex(r.rsi), "\n")
        print("rbp     ", hex(r.rbp), "\n")