freebsd-skq/sys/ddb
Matthew D Fleming 3a5d36716f Modify kdb_trap() so that it re-calls the dbbe_trap function as long as
the debugger back-end has changed.  This means that switching from ddb
to gdb no longer requires a "step" which can be dangerous on an
already-crashed kernel.

Also add a capability to get from the gdb back-end back to ddb, by
typing ^C in the console window.

While here, simplify kdb_sysctl_available() by using
sbuf_new_for_sysctl(), and use strlcpy() instead of strncpy() since the
strlcpy semantic is desired.

MFC after:	1 month
2011-02-18 22:25:11 +00:00
..
db_access.c
db_access.h
db_break.c
db_break.h
db_capture.c sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. 2011-01-12 19:54:19 +00:00
db_command.c Modify kdb_trap() so that it re-calls the dbbe_trap function as long as 2011-02-18 22:25:11 +00:00
db_command.h MFp4 @178364: 2010-05-24 16:41:05 +00:00
db_examine.c
db_expr.c
db_input.c
db_lex.c
db_lex.h
db_main.c
db_output.c There is not a good reason to have a different prototype for db_printf() 2010-05-11 17:01:14 +00:00
db_output.h
db_print.c
db_ps.c
db_run.c
db_script.c
db_sym.c
db_sym.h
db_textdump.c
db_thread.c MFp4 @178364: 2010-05-24 16:41:05 +00:00
db_variables.c
db_variables.h
db_watch.c
db_watch.h
db_write_cmd.c
ddb.h There is not a good reason to have a different prototype for db_printf() 2010-05-11 17:01:14 +00:00