diff options
author | kib <kib@FreeBSD.org> | 2013-05-27 18:29:20 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-05-27 18:29:20 +0000 |
commit | b48b0e8ec048b680adc5d13665d4e307e6673238 (patch) | |
tree | bcd8fe38a10ca568ddefeb24926714c92ddf4c52 /sys/amd64 | |
parent | da32b7c3140b4a6f5caaf4183cd6f8520d99c7d2 (diff) | |
download | FreeBSD-src-b48b0e8ec048b680adc5d13665d4e307e6673238.zip FreeBSD-src-b48b0e8ec048b680adc5d13665d4e307e6673238.tar.gz |
When reporting the fault details, also print %rsp.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 6fcca81..1e6b58c 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)), |