svn commit: r241810 - stable/9/sys/amd64/amd64

Konstantin Belousov kib at FreeBSD.org
Sun Oct 21 12:15:59 UTC 2012


Author: kib
Date: Sun Oct 21 12:15:58 2012
New Revision: 241810
URL: http://svn.freebsd.org/changeset/base/241810

Log:
  MFC r241549:
  Print the %rip value for uprintf_signal.

Modified:
  stable/9/sys/amd64/amd64/trap.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/amd64/amd64/trap.c
==============================================================================
--- stable/9/sys/amd64/amd64/trap.c	Sun Oct 21 12:14:58 2012	(r241809)
+++ stable/9/sys/amd64/amd64/trap.c	Sun Oct 21 12:15:58 2012	(r241810)
@@ -617,8 +617,10 @@ trap(struct trapframe *frame)
 	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 svn-src-all mailing list