From: Michael Pratt Date: Fri, 8 Sep 2023 20:12:44 +0000 (-0400) Subject: runtime: dump rdx on windows X-Git-Tag: go1.22rc1~928 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=af3bf866b10e8b2db1c6ac625fc143685d0dbe0e;p=gostls13.git 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 --- 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")