Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



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



Home | Main Index | Thread Index | Old Index