On Fri, 17 Feb 2012, Andreas Gustafsson wrote:
1) Introduce a new sysctl ddb.stacktrace, which is on by default 2) Set ddb.commandonenter to 'bt' by default 3) Do it like OpenBSD and yell at the users in an all-capslock messageWhichever we choose, we should also make sure ddb is actually entered, or that we get a stack trace whether ddb is entered or not. Currently, your chances of getting a stack trace depend on whether the the rc scripts have been run yet, because /etc/sysctl.conf sets ddb.onpanic=0.
I think that's ortogonal - for a report, the user doesn't need DDB in the first place - he just needs the stack backtrace. Of course not entering DDB, printing stuff and the immediately rebooting is not useful, either...
- Hubert