Date: Mon, 27 May 2013 18:29:20 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251035 - head/sys/amd64/amd64 Message-ID: <201305271829.r4RITK5q005547@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Mon May 27 18:29:20 2013 New Revision: 251035 URL: http://svnweb.freebsd.org/changeset/base/251035 Log: When reporting the fault details, also print %rsp. Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/sys/amd64/amd64/trap.c Modified: head/sys/amd64/amd64/trap.c ============================================================================== --- head/sys/amd64/amd64/trap.c Mon May 27 18:27:12 2013 (r251034) +++ head/sys/amd64/amd64/trap.c Mon May 27 18:29:20 2013 (r251035) @@ -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)),
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305271829.r4RITK5q005547>