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 Unconditionally print the trap like we do...



details:   https://anonhg.NetBSD.org/src/rev/9ec774615334
branches:  trunk
changeset: 829795:9ec774615334
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Feb 13 01:05:18 2018 +0000

description:
Unconditionally print the trap like we do for amdt64 (Dimitris Karagkasidis)

diffstat:

 sys/arch/i386/i386/trap.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r f2213149e6ad -r 9ec774615334 sys/arch/i386/i386/trap.c
--- a/sys/arch/i386/i386/trap.c Tue Feb 13 00:34:11 2018 +0000
+++ b/sys/arch/i386/i386/trap.c Tue Feb 13 01:05:18 2018 +0000
@@ -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 @@
 
        default:
        we_re_toast:
-               if (type != T_TRCTRAP)
-                       trap_print(frame, l);
+               trap_print(frame, l);
 
                if (kdb_trap(type, 0, frame))
                        return;



Home | Main Index | Thread Index | Old Index