Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 fix TRAP_SIGDEBUG compilation
details: https://anonhg.NetBSD.org/src/rev/631885a29046
branches: trunk
changeset: 336379:631885a29046
user: christos <christos%NetBSD.org@localhost>
date: Fri Feb 27 17:45:52 2015 +0000
description:
fix TRAP_SIGDEBUG compilation
diffstat:
sys/arch/i386/i386/trap.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 15b5ab906661 -r 631885a29046 sys/arch/i386/i386/trap.c
--- a/sys/arch/i386/i386/trap.c Fri Feb 27 17:35:08 2015 +0000
+++ b/sys/arch/i386/i386/trap.c Fri Feb 27 17:45:52 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.274 2015/02/27 16:41:12 christos Exp $ */
+/* $NetBSD: trap.c,v 1.275 2015/02/27 17:45:52 christos Exp $ */
/*-
* Copyright (c) 1998, 2000, 2005, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.274 2015/02/27 16:41:12 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.275 2015/02/27 17:45:52 christos Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -689,10 +689,9 @@
}
#ifdef TRAP_SIGDEBUG
- printf("pid %d.%d (%s): signal %d at rip %lx addr %lx "
+ printf("pid %d.%d (%s): signal %d at eip %x addr %lx "
"error %d\n", p->p_pid, l->l_lid, p->p_comm, ksi.ksi_signo,
- frame->tf_rip, va, error);
- frame_dump(frame);
+ frame->tf_eip, va, error);
#endif
(*p->p_emul->e_trapsignal)(l, &ksi);
break;
Home |
Main Index |
Thread Index |
Old Index