On 02/15/18 12:00, Sevan Janiyan wrote: > > >> On 14 Feb 2018, at 20:35, matthew green <[email protected]> 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.
Like so? (haven't dealt with documentation yet) https://www.netbsd.org/~sevan/patch-netbsd-ddb-dumpstack.txt Haven't dealt with documentation yet nor other suggestions which have come up later in the thread, yet. Sevan
