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

Konstantin Belousov kib at FreeBSD.org
Mon Jun 3 04:50:22 UTC 2013


Author: kib
Date: Mon Jun  3 04:50:21 2013
New Revision: 251287
URL: http://svnweb.freebsd.org/changeset/base/251287

Log:
  MFC r251035:
  When reporting the fault details, also print %rsp.r251035:
  When reporting the fault details, also print %rsp.

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	Mon Jun  3 04:48:09 2013	(r251286)
+++ stable/9/sys/amd64/amd64/trap.c	Mon Jun  3 04:50:21 2013	(r251287)
@@ -617,10 +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 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 svn-src-stable-9 mailing list