Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Reset ddb_regp to NULL. Reported by David Binderman...



details:   https://anonhg.NetBSD.org/src/rev/3ec4c06d3ad2
branches:  trunk
changeset: 359423:3ec4c06d3ad2
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Feb 09 09:36:42 2018 +0000

description:
Reset ddb_regp to NULL. Reported by David Binderman in PR/52964.

diffstat:

 sys/arch/amd64/amd64/db_interface.c |  6 +++---
 sys/arch/i386/i386/db_interface.c   |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r bd377f35a2d5 -r 3ec4c06d3ad2 sys/arch/amd64/amd64/db_interface.c
--- a/sys/arch/amd64/amd64/db_interface.c       Fri Feb 09 09:07:13 2018 +0000
+++ b/sys/arch/amd64/amd64/db_interface.c       Fri Feb 09 09:36:42 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.27 2017/08/15 09:08:39 maxv Exp $   */
+/*     $NetBSD: db_interface.c,v 1.28 2018/02/09 09:36:42 maxv Exp $   */
 
 /*
  * Mach Operating System
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.27 2017/08/15 09:08:39 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.28 2018/02/09 09:36:42 maxv Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -238,7 +238,7 @@
        db_resume_others();
        }
 #endif
-       ddb_regp = &dbreg;
+       ddb_regp = NULL;
 
        *regs = ddb_regs;
 
diff -r bd377f35a2d5 -r 3ec4c06d3ad2 sys/arch/i386/i386/db_interface.c
--- a/sys/arch/i386/i386/db_interface.c Fri Feb 09 09:07:13 2018 +0000
+++ b/sys/arch/i386/i386/db_interface.c Fri Feb 09 09:36:42 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.76 2017/09/17 09:41:35 maxv Exp $   */
+/*     $NetBSD: db_interface.c,v 1.77 2018/02/09 09:36:42 maxv Exp $   */
 
 /*
  * Mach Operating System
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.76 2017/09/17 09:41:35 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.77 2018/02/09 09:36:42 maxv Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -254,7 +254,7 @@
        db_resume_others();
        }
 #endif
-       ddb_regp = &dbreg;
+       ddb_regp = NULL;
 
        regs->tf_gs     = ddb_regs.tf_gs;
        regs->tf_fs     = ddb_regs.tf_fs;



Home | Main Index | Thread Index | Old Index