[Midnightbsd-cvs] src [8232] trunk/sys/amd64/amd64/trap.c: print rip value

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Sep 17 17:24:17 EDT 2016


Revision: 8232
          http://svnweb.midnightbsd.org/src/?rev=8232
Author:   laffer1
Date:     2016-09-17 17:24:16 -0400 (Sat, 17 Sep 2016)
Log Message:
-----------
print rip value

Modified Paths:
--------------
    trunk/sys/amd64/amd64/trap.c

Modified: trunk/sys/amd64/amd64/trap.c
===================================================================
--- trunk/sys/amd64/amd64/trap.c	2016-09-17 20:34:06 UTC (rev 8231)
+++ trunk/sys/amd64/amd64/trap.c	2016-09-17 21:24:16 UTC (rev 8232)
@@ -615,8 +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 <%02x %02x %02x %02x %02x %02x %02x %02x>\n",
+		    "addr 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,
 		    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