aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2013-05-27 18:29:20 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2013-05-27 18:29:20 +0000
commit80b5691a76b0a7de967d77ce62992c96798f776f (patch)
treebcd8fe38a10ca568ddefeb24926714c92ddf4c52 /sys/amd64
parent6806ce6ec809bf8424a20765d2763976497608aa (diff)
downloadsrc-80b5691a76b0a7de967d77ce62992c96798f776f.tar.gz
src-80b5691a76b0a7de967d77ce62992c96798f776f.zip
When reporting the fault details, also print %rsp.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
Notes
Notes: svn path=/head/; revision=251035
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 6fcca816a315..1e6b58c81827 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -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)),