svn commit: r251593 - stable/9/sys/i386/i386

Konstantin Belousov kib at FreeBSD.org
Mon Jun 10 04:09:14 UTC 2013


Author: kib
Date: Mon Jun 10 04:09:14 2013
New Revision: 251593
URL: http://svnweb.freebsd.org/changeset/base/251593

Log:
  MFC r251283:
  MFamd64: when printing the trap information, show the %esp value.

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

Modified: stable/9/sys/i386/i386/trap.c
==============================================================================
--- stable/9/sys/i386/i386/trap.c	Mon Jun 10 04:05:18 2013	(r251592)
+++ stable/9/sys/i386/i386/trap.c	Mon Jun 10 04:09:14 2013	(r251593)
@@ -766,10 +766,10 @@ trap(struct trapframe *frame)
 	ksi.ksi_trapno = type;
 	if (uprintf_signal) {
 		uprintf("pid %d comm %s: signal %d err %x code %d type %d "
-		    "addr 0x%x eip 0x%08x "
+		    "addr 0x%x esp 0x%08x eip 0x%08x "
 		    "<%02x %02x %02x %02x %02x %02x %02x %02x>\n",
 		    p->p_pid, p->p_comm, i, frame->tf_err, ucode, type, addr,
-		    frame->tf_eip,
+		    frame->tf_esp, frame->tf_eip,
 		    fubyte((void *)(frame->tf_eip + 0)),
 		    fubyte((void *)(frame->tf_eip + 1)),
 		    fubyte((void *)(frame->tf_eip + 2)),


More information about the svn-src-stable-9 mailing list