freebsd-nq/sys/ddb
John Baldwin e1e31c0e43 Clean up the way we handle auxiliary commands for a given ddb command
table.  Previously, the ddb code knew of each linker set of auxiliary
commands and which explicit command list they were tied to.  These changes
add a simple command_table struct that contains both the static list of
commands and the pointers for any auxiliary linker set of additional
commands.  This also makes it possible for other arbitrary command tables
to be defined in other parts of the kernel w/o having to edit ddb itself.

The DB_SET macro has also been trimmed down to just creating an entry in
a linker set.  A new DB_FUNC macro does what the old DB_SET did which is
to not only add an entry to the linker set but also to include a function
prototype for the function being added.  With these changes, it's now also
possible to create aliases for ddb functions using DB_SET() directly if
desired.
2006-03-07 22:17:06 +00:00
..
db_access.c Fix -Wundef. 2005-12-04 02:12:43 +00:00
db_access.h
db_break.c
db_break.h
db_command.c Clean up the way we handle auxiliary commands for a given ddb command 2006-03-07 22:17:06 +00:00
db_command.h
db_examine.c
db_expr.c
db_input.c
db_lex.c
db_lex.h
db_main.c
db_output.c - Call db_setup_paging() for traceall. 2005-10-02 22:57:31 +00:00
db_output.h
db_print.c rev 1.54 of i386/include/pcb.h depended on sys/proc.h. The prerequisite 2005-04-14 05:25:40 +00:00
db_ps.c
db_run.c rev 1.54 of i386/include/pcb.h depended on sys/proc.h. The prerequisite 2005-04-14 05:25:40 +00:00
db_sym.c
db_sym.h
db_thread.c
db_variables.c
db_variables.h
db_watch.c Move the prototypes of db_md_set_watchpoint(), db_md_clr_watchpoint() 2005-09-10 03:01:25 +00:00
db_watch.h
db_write_cmd.c
ddb.h Clean up the way we handle auxiliary commands for a given ddb command 2006-03-07 22:17:06 +00:00