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 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_access.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
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 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_examine.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_expr.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_input.c Add a new mechanism, cndbctl(), to tell the console driver that 2000-01-11 14:54:01 +00:00
db_kld.c Fix a typo in the db_kld.c file - it's kld support not raw a.out support. 2000-01-11 13:25:12 +00:00
db_lex.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_lex.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_output.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_output.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_print.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
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 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_sym.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_sysctl.c Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
db_trap.c A set of changes to reduce the number of include files the kernel 2001-07-08 04:56:07 +00:00
db_variables.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_variables.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_watch.c Add 'hwatch' and 'dhwatch' ddb commands analogous to 'watch' and 2001-07-11 03:15:25 +00:00
db_watch.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_write_cmd.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ddb.h Add 'hwatch' and 'dhwatch' ddb commands analogous to 'watch' and 2001-07-11 03:15:25 +00:00