From af3bf866b10e8b2db1c6ac625fc143685d0dbe0e Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Fri, 8 Sep 2023 16:12:44 -0400 Subject: [PATCH] runtime: dump rdx on windows 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 Reviewed-by: Cherry Mui Auto-Submit: Michael Pratt --- src/runtime/defs_windows_amd64.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/defs_windows_amd64.go b/src/runtime/defs_windows_amd64.go index 20c9c4d932..0cf256205f 100644 --- a/src/runtime/defs_windows_amd64.go +++ b/src/runtime/defs_windows_amd64.go @@ -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") -- 2.50.0