1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys/ddb
Sam Leffler 39297ba455 Make ddb command registration dynamic so modules can extend
the command set (only so long as the module is present):
o add db_command_register and db_command_unregister to add and remove
  commands, respectively
o replace linker sets with SYSINIT's (and SYSUINIT's) that register
  commands
o expose 3 list heads: db_cmd_table, db_show_table, and db_show_all_table
  for registering top-level commands, show operands, and show all operands,
  respectively

While here also:
o sort command lists
o add DB_ALIAS, DB_SHOW_ALIAS, and DB_SHOW_ALL_ALIAS to add aliases
  for existing commands
o add "show all trace" as an alias for "show alltrace"
o add "show all locks" as an alias for "show alllocks"

Submitted by:	Guillaume Ballet <gballet@gmail.com> (original version)
Reviewed by:	jhb
MFC after:	1 month
2008-09-15 22:45:14 +00:00
..
db_access.c
db_access.h
db_break.c
db_break.h
db_capture.c Rename debug.ddb.capture.bytes sysctl to debug.ddb.capture.bufoff in 2008-04-25 13:23:36 +00:00
db_command.c Make ddb command registration dynamic so modules can extend 2008-09-15 22:45:14 +00:00
db_command.h Add a simple scripting facility to DDB(4), allowing the user to 2007-12-26 09:33:19 +00:00
db_examine.c Add a /S mode to DDB "ex" command, which interprets and prints the 2008-03-07 18:09:07 +00:00
db_expr.c
db_input.c Reserve two bytes at the end of the DDB input line in db_readline() to 2008-03-07 13:13:17 +00:00
db_lex.c Add a simple scripting facility to DDB(4), allowing the user to 2007-12-26 09:33:19 +00:00
db_lex.h Add a simple scripting facility to DDB(4), allowing the user to 2007-12-26 09:33:19 +00:00
db_main.c Add a simple scripting facility to DDB(4), allowing the user to 2007-12-26 09:33:19 +00:00
db_output.c Add a missing include which was erroneusly left out from the previous 2008-08-18 16:51:44 +00:00
db_output.h Fixed formatting of printing of command tables. WIth the default max 2006-10-08 18:15:08 +00:00
db_print.c
db_ps.c Print out the container lock when showing the thread state in DDB. 2008-06-18 20:42:01 +00:00
db_run.c Fix software single-stepping: we need to check if the instruction is a 2008-08-02 12:49:43 +00:00
db_script.c Remove duplicate $FreeBSD$ that snuck in. 2007-12-26 10:51:07 +00:00
db_sym.c Never zero-out db_last_symtab. Whan backtraces are done 2006-06-16 16:17:52 +00:00
db_sym.h
db_textdump.c Commit step 1 of the vimage project, (network stack) 2008-08-17 23:27:27 +00:00
db_thread.c Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form. 2007-01-17 15:05:52 +00:00
db_variables.c
db_variables.h
db_watch.c Fix the output format of MI ddb watches in 'show watch' on 64-bit 2006-11-17 16:41:56 +00:00
db_watch.h
db_write_cmd.c
ddb.h Make ddb command registration dynamic so modules can extend 2008-09-15 22:45:14 +00:00