Module Name: src
Committed By: christos
Date: Tue Feb 13 01:05:18 UTC 2018
Modified Files:
src/sys/arch/i386/i386: trap.c
Log Message:
Unconditionally print the trap like we do for amdt64 (Dimitris Karagkasidis)
To generate a diff of this commit:
cvs rdiff -u -r1.292 -r1.293 src/sys/arch/i386/i386/trap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/i386/i386/trap.c
diff -u src/sys/arch/i386/i386/trap.c:1.292 src/sys/arch/i386/i386/trap.c:1.293
--- src/sys/arch/i386/i386/trap.c:1.292 Sat Jan 27 04:33:25 2018
+++ src/sys/arch/i386/i386/trap.c Mon Feb 12 20:05:18 2018
@@ -1,5 +1,5 @@
-/* $NetBSD: trap.c,v 1.292 2018/01/27 09:33:25 maxv Exp $ */
+/* $NetBSD: trap.c,v 1.293 2018/02/13 01:05:18 christos Exp $ */
/*-
* Copyright (c) 1998, 2000, 2005, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.292 2018/01/27 09:33:25 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.293 2018/02/13 01:05:18 christos Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -307,8 +307,7 @@ trap(struct trapframe *frame)
default:
we_re_toast:
- if (type != T_TRCTRAP)
- trap_print(frame, l);
+ trap_print(frame, l);
if (kdb_trap(type, 0, frame))
return;