Subject: Re: DEBUG/DIAGNOSTIC/LOCKDEBUG by default
To: Matthias Scheler <tron@zhadum.org.uk>
From: Andrew Doran <ad@netbsd.org>
List: tech-kern
Date: 11/06/2007 14:43:16
On Tue, Nov 06, 2007 at 01:16:18PM +0000, Matthias Scheler wrote:

> On Tue, Nov 06, 2007 at 12:45:30AM +0100, Juan RP wrote:
> > Can we please enable DEBUG/DIAGNOSTIC/LOCKDEBUG by default on HEAD?
> > when the final branch is created we could remove them.
> 
> I don't think that is a good idea.
> 
> One of the problems of NetBSD in general is that the pre-release versions
> don't get enough testing because a lot of people run NetBSD-current (e.g.
> because features, drivers don't get backported) which is often significantly
> different than the release branches. Having debugging enabled in HEAD and
> not in the stable branches will make that problem worse.

I fully agree.
 
> And there are also bugs which are hidden by debugging e.g. because the
> timing changes.

I am trying to diagnose one at the moment that is masked by LOCKDEBUG on my
machine. On another machine it always fires.

Andrew