summaryrefslogtreecommitdiff
path: root/sys/ddb/db_panic.c
AgeCommit message (Collapse)Author
2021-10-06KNF: The function type must be declared on a line by itself.uwe
2021-07-20need <sys/param.h> for COHERENCY_UNITchristos
2019-01-27Merge the [pgoyette-compat] branchpgoyette
2018-05-27Add missing $NetBSD$ comment at the beginning.uwe
2018-02-17Opt to print a backtrace on panic by default with the intention of improving ↵sevan
bug reports. Instead of relying on ddb.onpanic=2, introduce a new sysctl called dumpstack to handle this. via <jmcneill> channeled through <mrg> on tech-kern[1] [1] https://mail-index.netbsd.org/tech-kern/2018/02/15/msg023103.html
2017-12-28- add ddb.panicstackframes to avoid scrolling the interesting parts of panicchristos
stacktraces off. - change valuep to void * to avoid casts - sort and use c99 initializers in variables array
2017-10-27Revert printf return value change.joerg
2017-10-27[syzkaller] Cast all the printf's to (void *)utkarsh009
> as a result of new printf(9) declaration.
2014-01-22add a return in the panic messagechristos
2013-02-10need <sys/types.h> for various crap that other headers use (pid_t etc).christos
2013-02-10Move the DDB-specific part of vpanic() to a new db_panic() function,apb
defined in ddb/db_panic.c and declared in ddb/ddbvar.h. No functional change. The copyright years in db_panic.c are the years in which changes were made to the code that has now been moved to db_panic.c. No pre-NetBSD copyright notice is needed because revision 1.12 of subr_prf.c had only the trivial "#ifdef DDB \\ Debugger(); \\ #endif"