[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: kernel assertions (Rev. 1)
From: "Michael L. VanLoon -- HeadCandy.com" <michaelv () HeadCandy ! com>
Date: 1996-07-31 6:40:05
[Download RAW message or body]
>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.
-----------------------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic