Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern convert "ksyms: checking <symbol>" into KSYMS_DEBUG...
details: https://anonhg.NetBSD.org/src/rev/164a977831c4
branches: trunk
changeset: 368485:164a977831c4
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Jul 15 06:40:24 2022 +0000
description:
convert "ksyms: checking <symbol>" into KSYMS_DEBUG over normal DEBUG.
diffstat:
sys/kern/kern_ksyms.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0bd3f936da70 -r 164a977831c4 sys/kern/kern_ksyms.c
--- a/sys/kern/kern_ksyms.c Fri Jul 15 06:39:06 2022 +0000
+++ b/sys/kern/kern_ksyms.c Fri Jul 15 06:40:24 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_ksyms.c,v 1.106 2022/07/06 01:12:46 riastradh Exp $ */
+/* $NetBSD: kern_ksyms.c,v 1.107 2022/07/15 06:40:24 mrg Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_ksyms.c,v 1.106 2022/07/06 01:12:46 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_ksyms.c,v 1.107 2022/07/15 06:40:24 mrg Exp $");
#if defined(_KERNEL) && defined(_KERNEL_OPT)
#include "opt_copy_symtab.h"
@@ -556,7 +556,7 @@
char *shstr = (uint8_t *)start +
shdr[ehdr->e_shstrndx].sh_offset;
for (i = 1; i < ehdr->e_shnum; i++) {
-#ifdef DEBUG
+#ifdef KSYMS_DEBUG
printf("ksyms: checking %s\n", &shstr[shdr[i].sh_name]);
#endif
if (shdr[i].sh_type != SHT_PROGBITS)
Home |
Main Index |
Thread Index |
Old Index