From owner-freebsd-hackers Sun Feb 8 22:24:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA14719 for hackers-outgoing; Sun, 8 Feb 1998 22:24:34 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from parkplace.cet.co.jp (parkplace.cet.co.jp [202.32.64.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA14695; Sun, 8 Feb 1998 22:24:22 -0800 (PST) (envelope-from michaelh@cet.co.jp) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.8.8/CET-v2.2) with SMTP id GAA00832; Mon, 9 Feb 1998 06:23:45 GMT Date: Mon, 9 Feb 1998 15:23:45 +0900 (JST) From: Michael Hancock To: Eivind Eklund cc: FreeBSD Hackers Subject: DIAGNOSTICS and DEBUG LOGGING (was Re: cvs commit: src/sys/conf options) In-Reply-To: <199802061241.EAA24833@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Eivind, I'd like to see "sanity checks" (assertions) and diagnostic logging separated. DIAGNOSTICS turns on both, but I'd like to be able to run an assertion checking kernel without all the logging. Do you think that DIAGNOSTICS can be separated into these 2 categories without upsetting too many people? What does DEBUG do? Can all sanity checks be moved to DEBUG? This would give us more clearly defined debugging flags: DIAGNOSTICS - Debug logging DEBUG - Sanity checks DDS - GDB callable debug functions. Regards, Mike Hancock On Fri, 6 Feb 1998, Eivind Eklund wrote: > eivind 1998/02/06 04:41:39 PST > > Modified files: > sys/conf options > Log: > Throw DEBUG and DIAGNOSTIC in opt_global.h > > Revision Changes Path > 1.59 +4 -3 src/sys/conf/options > -- michaelh@cet.co.jp http://www.cet.co.jp CET Inc., Daiichi Kasuya BLDG 8F, 2-5-12 Higashi Shinbashi, Minato-ku, Tokyo 105 Japan Tel: +81-3-3437-1761 Fax: +81-3-3437-1766 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe hackers" in the body of the message