Subject: Re: gdb over ktrace
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 04/16/2000 15:59:54
On Sat, Apr 15, 2000 at 01:08:17PM -0400, der Mouse wrote:
> >> Do we have any ports that have anything mapped at address zero?  I
> >> didn't *think* we did...
> 
> > And if it does I *strongly* suggest it to be changed, so that
> > deferencing NULL will create a core dump.
> 
> <LANGUAGE-LAWYER>Nil pointer != address zero.</LANGUAGE-LAWYER>

Sure it doesn't need to be the same. But it's good for catching problems
to have pointers from a struct set to NULL when you bzero the struct.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--