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

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2013-06-03 04:19:21 +00:00
parent 92fab43f7f
commit 07d46f9c18
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251283

View File

@ -767,10 +767,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)),