Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 print some more stuff
details: https://anonhg.NetBSD.org/src/rev/e60524230c90
branches: trunk
changeset: 348581:e60524230c90
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 26 22:02:14 2016 +0000
description:
print some more stuff
diffstat:
sys/arch/amd64/amd64/trap.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r 47a39e4b03ec -r e60524230c90 sys/arch/amd64/amd64/trap.c
--- a/sys/arch/amd64/amd64/trap.c Wed Oct 26 21:24:20 2016 +0000
+++ b/sys/arch/amd64/amd64/trap.c Wed Oct 26 22:02:14 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.86 2016/09/25 12:53:24 maxv Exp $ */
+/* $NetBSD: trap.c,v 1.87 2016/10/26 22:02:14 christos Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.86 2016/09/25 12:53:24 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.87 2016/10/26 22:02:14 christos Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -662,9 +662,10 @@
}
#ifdef TRAP_SIGDEBUG
- printf("pid %d.%d (%s): signal %d at rip %lx addr %lx "
- "error %d\n", p->p_pid, l->l_lid, p->p_comm, ksi.ksi_signo,
- frame->tf_rip, va, error);
+ printf("pid %d.%d (%s): signal %d at rip %#lx addr %#lx "
+ "error %d trap %d cr2 %p\n", p->p_pid, l->l_lid, p->p_comm,
+ ksi.ksi_signo, frame->tf_rip, va, error, ksi.ksi_trap,
+ ksi.ksi_addr);
frame_dump(frame);
#endif
(*p->p_emul->e_trapsignal)(l, &ksi);
Home |
Main Index |
Thread Index |
Old Index