Subject: Re: CVS commit: src/sys/kern
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Darren Reed <darrenr@NetBSD.org>
List: source-changes
Date: 01/28/2006 11:39:27
On Sat, Jan 28, 2006 at 12:19:42PM +0100, Manuel Bouyer wrote:
> On Sat, Jan 28, 2006 at 09:52:45AM +0000, Darren Reed wrote:
> > > ddb.commandonenter is not enough?
> > 
> > That doesn't exist.
> 
> >From -current ddb(4):
>      To specify commands which will be executed on each entry to ddb:
>      options DDB_COMMANDONENTER="trace;show registers"
>      In this case, "trace" and then "show registers" will be executed automat-
>      ically.
> 
> So just use options DDB_COMMANDONENTER="trace" in your kernel config
> file and you get the same functionality. Or ddb.commandonenter=trace
> in /etc/sysctl.conf

This also needs to be documented in options(4) and panic(9) as well
as wherever else is necessary.

However I'm not convinced this will do what I want as ddb fails to
do anything except print the panic message for me.

Now I remember why I hate developing on netbsd and especially on pc's.

Darren