Received: by mail.netbsd.org (Postfix, from userid 605) id 6FE1B84EA0; Tue, 1 Mar 2022 00:17:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3471F84E9C for ; Tue, 1 Mar 2022 00:17:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 2R2P33SG0gMR for ; Tue, 1 Mar 2022 00:17:12 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id C44C684CE0 for ; Tue, 1 Mar 2022 00:17:12 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id B7E43FB24; Tue, 1 Mar 2022 00:17:12 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 1 Mar 2022 00:17:12 +0000 From: "Roland Illig" Subject: CVS commit: src/usr.bin/xlint/lint1 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220301001712.B7E43FB24@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Roland Illig" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: rillig Date: Tue Mar 1 00:17:12 UTC 2022 Modified Files: src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h lex.c Log Message: lint: add debug logging for symbols and the symbol table This logging is not active by default, the functions debug_sym and debug_symtab can be called as needed during a debug session. To generate a diff of this commit: cvs rdiff -u -r1.386 -r1.387 src/usr.bin/xlint/lint1/cgram.y cvs rdiff -u -r1.8 -r1.9 src/usr.bin/xlint/lint1/debug.c cvs rdiff -u -r1.251 -r1.252 src/usr.bin/xlint/lint1/decl.c cvs rdiff -u -r1.148 -r1.149 src/usr.bin/xlint/lint1/externs1.h cvs rdiff -u -r1.106 -r1.107 src/usr.bin/xlint/lint1/lex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.