Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips enable dumppcb.



details:   https://anonhg.NetBSD.org/src/rev/aa3fd5483944
branches:  trunk
changeset: 937378:aa3fd5483944
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Aug 17 03:22:13 2020 +0000

description:
enable dumppcb.

diffstat:

 sys/arch/mips/mips/mips_machdep.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (39 lines):

diff -r 48e7c7495f72 -r aa3fd5483944 sys/arch/mips/mips/mips_machdep.c
--- a/sys/arch/mips/mips/mips_machdep.c Mon Aug 17 03:19:35 2020 +0000
+++ b/sys/arch/mips/mips/mips_machdep.c Mon Aug 17 03:22:13 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mips_machdep.c,v 1.298 2020/07/31 08:06:33 simonb Exp $        */
+/*     $NetBSD: mips_machdep.c,v 1.299 2020/08/17 03:22:13 mrg Exp $   */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -111,7 +111,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.298 2020/07/31 08:06:33 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.299 2020/08/17 03:22:13 mrg Exp $");
 
 #define __INTR_PRIVATE
 #include "opt_cputype.h"
@@ -1820,9 +1820,7 @@
 int    dumpsize = 0;           /* pages */
 long   dumplo = 0;             /* blocks */
 
-#if 0
 struct pcb dumppcb;
-#endif
 
 /*
  * cpu_dumpsize: calculate size of machine-dependent kernel core dump headers.
@@ -1968,10 +1966,8 @@
        int (*dump)(dev_t, daddr_t, void *, size_t);
        int error;
 
-#if 0
        /* Save registers. */
        savectx(&dumppcb);
-#endif
 
        if (dumpdev == NODEV)
                return;



Home | Main Index | Thread Index | Old Index