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 Thu, 15 Feb 2018, Valery Ushakov wrote:

On Thu, Feb 15, 2018 at 01:19:31 +0000, Sevan Janiyan wrote:

I might/would suggest

   OPTIONS DDB_ONPANIC=2

clear, any reason not to have this as a default? (I'm going to sleep on it)

As someone has already mentioned upthread, because printing a
backtrace might cause another panic, so the default was selected to be
on the safe(r) side.  At least that's what I recall.

Yes, that matches my recall as well.


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index