git: 6217c2473d79 - main - amd64: zero-pad register dumps on panic
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 May 2023 13:16:04 UTC
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=6217c2473d798a2a40eb1fd73b7e8e942194138a
commit 6217c2473d798a2a40eb1fd73b7e8e942194138a
Author: Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-05-23 13:20:46 +0000
Commit: Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-05-30 13:15:56 +0000
amd64: zero-pad register dumps on panic
de gustibus and so on
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sys/amd64/amd64/trap.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 28ee3a3b6959..d44b9f9be4fa 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -930,15 +930,15 @@ trap_fatal(struct trapframe *frame, vm_offset_t eva)
printf("current process = %d (%s)\n",
curproc->p_pid, curthread->td_name);
- printf("rdi: %16lx rsi: %16lx rdx: %16lx\n", frame->tf_rdi,
+ printf("rdi: %016lx rsi: %016lx rdx: %016lx\n", frame->tf_rdi,
frame->tf_rsi, frame->tf_rdx);
- printf("rcx: %16lx r8: %16lx r9: %16lx\n", frame->tf_rcx,
+ printf("rcx: %016lx r8: %016lx r9: %016lx\n", frame->tf_rcx,
frame->tf_r8, frame->tf_r9);
- printf("rax: %16lx rbx: %16lx rbp: %16lx\n", frame->tf_rax,
+ printf("rax: %016lx rbx: %016lx rbp: %016lx\n", frame->tf_rax,
frame->tf_rbx, frame->tf_rbp);
- printf("r10: %16lx r11: %16lx r12: %16lx\n", frame->tf_r10,
+ printf("r10: %016lx r11: %016lx r12: %016lx\n", frame->tf_r10,
frame->tf_r11, frame->tf_r12);
- printf("r13: %16lx r14: %16lx r15: %16lx\n", frame->tf_r13,
+ printf("r13: %016lx r14: %016lx r15: %016lx\n", frame->tf_r13,
frame->tf_r14, frame->tf_r15);
#ifdef KDB