Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/usermode/usermode Remove debugging printf()



details:   https://anonhg.NetBSD.org/src/rev/beeaf06b33b4
branches:  trunk
changeset: 365108:beeaf06b33b4
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Wed Aug 01 10:23:55 2018 +0000

description:
Remove debugging printf()

diffstat:

 sys/arch/usermode/usermode/kgdb_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 795585c0db3d -r beeaf06b33b4 sys/arch/usermode/usermode/kgdb_machdep.c
--- a/sys/arch/usermode/usermode/kgdb_machdep.c Wed Aug 01 10:22:20 2018 +0000
+++ b/sys/arch/usermode/usermode/kgdb_machdep.c Wed Aug 01 10:23:55 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kgdb_machdep.c,v 1.1 2018/08/01 10:22:20 reinoud Exp $ */
+/*     $NetBSD: kgdb_machdep.c,v 1.2 2018/08/01 10:23:55 reinoud Exp $ */
 
 /*
  * Copyright (c) 1996 Matthias Pfaller.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kgdb_machdep.c,v 1.1 2018/08/01 10:22:20 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kgdb_machdep.c,v 1.2 2018/08/01 10:23:55 reinoud Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -58,7 +58,7 @@
        va  &= ~PGOFSET;
        last_va &= ~PGOFSET;
 
-thunk_printf("%s: [%p .. %p]\n", __func__, (void *) va, (void *) last_va);
+       thunk_printf_debug("%s: [%p .. %p]\n", __func__, (void *) va, (void *) last_va);
        do {
                if (db_validate_address(va))
                        return (0);



Home | Main Index | Thread Index | Old Index