Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: HEADS UP: panic behaviour changed
> > > It will just dump and reboot now. To enter the debugger automatically set
> > > ddb.onpanic=1 in /etc/sysctl.conf.
> > >
> > This is a real PITA if you're doing early code debugging and don't
> > reach multi-user. It must be possible to tune this behaviour at
> > compile time.
>
> boot -d
> db> w ddb_onpanic 1
> db> c
Or
# gdb --write /netbsd
:
(gdb) set db_onpanic=1
(gdb) quit
I wonder if it might be worth to pass such tunable values
(like options RTC_OFFSET) via bootinfo and boot.cfg(5)...
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index