NetBSD/sys/ddb
reinoud 22f1132820 Implement ddb setting that allows all ddb output to be teed into the
kernel message buffer/log. Its off by default and can be switched on in the
kernel configuration on build time, be set as a variable in ddb and be set
using sysctl.

This adds the sysctl value
	ddb.tee_msgbuf = 0
by default.

The functionality is especially added and aimed for developers who are not
blessed with a serial console and wish to keep all their ddb output in the
log. Specifying /l as a modifier to some selected commands will also put
the output in the log but not all commands provide one nor has the same
meaning for all commands.

This feature could in the future also be implemented as an ddb command but
that could lead to more bloat allthough maybe easier for non developpers to
use when mailing their backtraces from kernel crashes.
2004-09-29 23:54:11 +00:00
..
db_access.c
db_access.h
db_aout.c Add a cast to make this build with -D__AUDIT__. 2003-05-17 00:28:44 +00:00
db_aout.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
db_break.c Add a BKPT_ADDR() macro which gives MD code a chance to munge a 2003-04-29 17:06:03 +00:00
db_break.h
db_command.c That's not supposed to be there. Sorry. 2004-04-27 04:03:28 +00:00
db_command.h
db_elf.c
db_examine.c Fix format string warnings for platforms where 2003-11-09 20:52:18 +00:00
db_expr.c
db_extern.h switch to use strlcpy() from libkern. 2003-05-16 16:28:30 +00:00
db_input.c
db_interface.h Add a "show sched_qs" command to dump the run queues. Format is: 2003-09-20 03:02:03 +00:00
db_lex.c On some platforms, sizeof(db_expr_t) > sizeof(long), so add a method 2003-05-17 09:58:03 +00:00
db_lex.h
db_output.c
db_output.h
db_print.c
db_run.c
db_run.h
db_sym.c kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
db_sym.h use strlcpy [change prototype of db_symstr to pass size_t; noone seem to use it] 2003-05-16 15:02:08 +00:00
db_trap.c Add a rudimentary 'trap to kgdb' command if KGDB is defined. This allows 2003-04-28 02:49:54 +00:00
db_variables.c Implement ddb setting that allows all ddb output to be teed into the 2004-09-29 23:54:11 +00:00
db_variables.h
db_watch.c Fix format string warnings for platforms where 2003-11-09 20:52:18 +00:00
db_watch.h
db_write_cmd.c
db_xxx.c Make ddb's "show sched_qs" aware of big-endian sched_qs arrangements. 2004-07-27 02:15:07 +00:00
ddbvar.h Implement ddb setting that allows all ddb output to be teed into the 2004-09-29 23:54:11 +00:00
TODO Implement ddb setting that allows all ddb output to be teed into the 2004-09-29 23:54:11 +00:00