From owner-freebsd-hackers Tue Jul 30 23:40:45 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA10182 for hackers-outgoing; Tue, 30 Jul 1996 23:40:45 -0700 (PDT) Received: from MindBender.HeadCandy.com (root@mindbender.headcandy.com [199.238.225.168]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA10177 for ; Tue, 30 Jul 1996 23:40:36 -0700 (PDT) Received: from localhost.HeadCandy.com (michaelv@localhost.HeadCandy.com [127.0.0.1]) by MindBender.HeadCandy.com (8.7.5/8.7.3) with SMTP id XAA02552; Tue, 30 Jul 1996 23:40:06 -0700 (PDT) Message-Id: <199607310640.XAA02552@MindBender.HeadCandy.com> X-Authentication-Warning: MindBender.HeadCandy.com: Host michaelv@localhost.HeadCandy.com [127.0.0.1] didn't use HELO protocol To: Michael Hancock cc: FreeBSD Hackers Subject: Re: kernel assertions (Rev. 1) In-reply-to: Your message of Wed, 31 Jul 96 15:07:14 +0900. Date: Tue, 30 Jul 1996 23:40:05 -0700 From: "Michael L. VanLoon -- HeadCandy.com" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >The REQUIRE2 stuff can replace the > >#ifdef DIAGNOSTICS > if (expr) > panic(expl); >#endif I prefer asserts to call "Debugger()", rather than "panic()", and that's how I write my assertion macros. How are you supposed to debug something if it panics? ----------------------------------------------------------------------------- Michael L. VanLoon michaelv@HeadCandy.com --< Free your mind and your machine -- NetBSD free un*x >-- NetBSD working ports: 386+PC, Mac 68k, Amiga, Atari 68k, HP300, Sun3, Sun4/4c/4m, DEC MIPS, DEC Alpha, PC532, VAX, MVME68k, arm32... NetBSD ports in progress: PICA, others... Roll your own Internet access -- Seattle People's Internet cooperative. If you're in the Seattle area, ask me how. -----------------------------------------------------------------------------