[Midnightbsd-cvs] src [9470] trunk/sys/amd64/amd64/trap.c: When reporting the fault details, also print %rsp.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Mar 5 14:45:37 EST 2017
Revision: 9470
http://svnweb.midnightbsd.org/src/?rev=9470
Author: laffer1
Date: 2017-03-05 14:45:37 -0500 (Sun, 05 Mar 2017)
Log Message:
-----------
When reporting the fault details, also print %rsp.
Modified Paths:
--------------
trunk/sys/amd64/amd64/trap.c
Modified: trunk/sys/amd64/amd64/trap.c
===================================================================
--- trunk/sys/amd64/amd64/trap.c 2017-03-05 19:45:14 UTC (rev 9469)
+++ trunk/sys/amd64/amd64/trap.c 2017-03-05 19:45:37 UTC (rev 9470)
@@ -615,10 +615,10 @@
ksi.ksi_addr = (void *)addr;
if (uprintf_signal) {
uprintf("pid %d comm %s: signal %d err %lx code %d type %d "
- "addr 0x%lx rip 0x%lx "
+ "addr 0x%lx rsp 0x%lx rip 0x%lx "
"<%02x %02x %02x %02x %02x %02x %02x %02x>\n",
p->p_pid, p->p_comm, i, frame->tf_err, ucode, type, addr,
- frame->tf_rip,
+ frame->tf_rsp, frame->tf_rip,
fubyte((void *)(frame->tf_rip + 0)),
fubyte((void *)(frame->tf_rip + 1)),
fubyte((void *)(frame->tf_rip + 2)),
More information about the Midnightbsd-cvs
mailing list