tech-kern archive

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

Re: setting DDB_COMMANDONENTER="bt" by default




> On 14 Feb 2018, at 20:35, matthew green <mrg%eterna.com.au@localhost> wrote:
> 
> i think we should actually make ddb default to this with a
> new sysctl, and remove interpretting onpanic = 2 differently.
> eg, make it look like, with new "dumpstack" sysctl, defaults
> to value of 1:
> 
>   if (dumpstack > 0)
>      do current dumpstack method
>   if (onpanic > 0)
>      enter ddb
>   reboot
> 
> (this idea came from jmcneill@.)

I'll take a look.


Sevan


Home | Main Index | Thread Index | Old Index