freebsd-dev/sys/ddb
Dima Dorfman 19d2c78f34 Implement a "kill" DDB command which is an interface to psignal() that
respects locks.  Before SMPng, one was able to call psignal()
using the "call" command, but this is no longer possible because it
does not respect locks by itself.  This is very useful when one has
gotten their machine into a state where it is impossible to spawn
ps/kill or su to root.

In this case, respecting locks essentially means trying to aquire the
proc lock before calling psignal().  We can't block in the debugger,
so if trylock fails, the operation fails.  This also means that we
can't use pfind(), since that will attempt to lock the process for us.

Reviewed by:	jhb
2001-11-27 19:56:28 +00:00
..
db_access.c
db_access.h
db_break.c Fill out some gaps in ia64 DDB support. This involves generalising DDB's 2001-09-15 11:06:07 +00:00
db_break.h Fill out some gaps in ia64 DDB support. This involves generalising DDB's 2001-09-15 11:06:07 +00:00
db_command.c Implement a "kill" DDB command which is an interface to psignal() that 2001-11-27 19:56:28 +00:00
db_command.h
db_examine.c
db_expr.c
db_input.c
db_kld.c
db_lex.c
db_lex.h
db_output.c
db_output.h
db_print.c
db_ps.c Make the flag field in the ps output one char wider to account for recent 2001-10-20 03:22:23 +00:00
db_run.c Fill out some gaps in ia64 DDB support. This involves generalising DDB's 2001-09-15 11:06:07 +00:00
db_sym.c
db_sym.h
db_sysctl.c
db_trap.c
db_variables.c
db_variables.h
db_watch.c
db_watch.h
db_write_cmd.c
ddb.h