diff options
author | guido <guido@FreeBSD.org> | 1994-02-11 21:14:52 +0000 |
---|---|---|
committer | guido <guido@FreeBSD.org> | 1994-02-11 21:14:52 +0000 |
commit | d19a3ef167cf7b68f48da8f185e8e6655a020a94 (patch) | |
tree | 1da73383d7576a622eb0373d4717b6cb15dcb5f3 /sys | |
parent | 32c86468ca835b791af9d6d5cd2cf25ca38bcb9a (diff) | |
download | FreeBSD-src-d19a3ef167cf7b68f48da8f185e8e6655a020a94.zip FreeBSD-src-d19a3ef167cf7b68f48da8f185e8e6655a020a94.tar.gz |
ps works inside ddb now.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ddb/db_command.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 30d8b17..735b3c0 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_command.c,v 1.2 1993/10/16 16:47:10 rgrimes Exp $ + * $Id: db_command.c,v 1.3 1993/11/25 01:30:04 wollman Exp $ */ /* @@ -307,13 +307,15 @@ extern void db_listbreak_cmd(); extern void db_listwatch_cmd(); extern void db_show_regs(), db_show_one_thread(), db_show_all_threads(); extern void vm_map_print(), vm_object_print(), vm_page_print(); +extern void db_ps(); extern void ipc_port_print(); void db_show_help(); struct command db_show_all_cmds[] = { #if 0 - { "threads", db_show_all_threads,0, 0 }, + { "threads", db_show_all_threads, 0, 0 }, #endif + { "procs", db_ps, 0, 0 }, { (char *)0 } }; @@ -370,6 +372,7 @@ struct command db_command_table[] = { { "trace", db_stack_trace_cmd, 0, 0 }, { "call", db_fncall, CS_OWN, 0 }, { "show", 0, 0, db_show_cmds }, + { "ps", db_ps, 0, 0 }, { (char *)0, } }; |