Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142270650
D36348.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
787 B
Referenced Files
None
Subscribers
None
D36348.diff
View Options
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -931,6 +931,17 @@
printf("current process = %d (%s)\n",
curproc->p_pid, curthread->td_name);
+ printf("rdi: %16lx rsi: %16lx rdx: %16lx\n", frame->tf_rdi,
+ frame->tf_rsi, frame->tf_rdx);
+ printf("rcx: %16lx r8: %16lx r9: %16lx\n", frame->tf_rcx,
+ frame->tf_r8, frame->tf_r9);
+ printf("rax: %16lx rbx: %16lx rbp: %16lx\n", frame->tf_rax,
+ frame->tf_rbx, frame->tf_rbp);
+ printf("r10: %16lx r11: %16lx r12: %16lx\n", frame->tf_r10,
+ frame->tf_r11, frame->tf_r12);
+ printf("r13: %16lx r14: %16lx r15: %16lx\n", frame->tf_r13,
+ frame->tf_r14, frame->tf_r15);
+
#ifdef KDB
if (debugger_on_trap) {
kdb_why = KDB_WHY_TRAP;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 19, 12:38 AM (15 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27724997
Default Alt Text
D36348.diff (787 B)
Attached To
Mode
D36348: amd64: dump standard registers when crashing
Attached
Detach File
Event Timeline
Log In to Comment