Skip to content

Commit

Permalink
runtime: dump rdx on windows
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Cherry Mui <[email protected]>
Auto-Submit: Michael Pratt <[email protected]>
  • Loading branch information
prattmic authored and gopherbot committed Sep 8, 2023
1 parent dfbf809 commit af3bf86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/defs_windows_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit af3bf86

Please sign in to comment.