Home | History | Annotate | Download | only in ddb
History log of /src/sys/ddb/db_command.h
RevisionDateAuthorComments
 1.42  09-Aug-2021  andvar fix various typos in compatibility, mainly in comments.
 1.41  23-Feb-2021  mrg introduce DDB_END_CMD and replace more than 20 copies of the same
list of NULLs and 0. idea from rillig@.

all touched ports built, several booted.
 1.40  30-Oct-2020  skrll branches: 1.40.2;
Whitespace
 1.39  30-Oct-2020  skrll Trailing whitespace
 1.38  31-May-2020  rin Revert introduction of db_alloc.h.

db_alloc() and friends are already provided in crash.c.
Sorry for confusing you...
 1.37  31-May-2020  rin Introduce db_alloc.h.

Provide db_alloc() and friends to userland, i.e., crash(8).
 1.36  10-Mar-2020  christos Make the db_kernelonly() macro visible to all files and re-use it.
Register access is kernel only.
 1.35  07-Mar-2009  ad branches: 1.35.64;
Make ddb compile and work in userspace. Mostly this is comprised of three
types of changes:

- Add a few new methods to replace stuff like p_find(), CPU_INFO_FOREACH.

- Use db_read_bytes() instead of accessing kernel structures directly,
and similar changes.

- Add ifdef _KERNEL where the above hasn't been done, and an XXX comment.
 1.34  05-Jan-2009  haad branches: 1.34.2;
Fix my bug introduced in rev 1.98 of db_command.c where command prefix
not ambiguous in one table was choosed even if it was ambiguous in another
table in same list. Also apply more KNF rules.

Patch was supplied by uwe@.
 1.33  28-Apr-2008  martin branches: 1.33.8; 1.33.10;
Remove clause 3 and 4 from TNF licenses
 1.32  27-Mar-2008  uwe branches: 1.32.2; 1.32.4;
Fix CS_MACH definition. 0x10 is spelled 0x10, not 0x16.
 1.31  25-Dec-2007  perry branches: 1.31.6;
Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h
 1.30  01-Oct-2007  martin branches: 1.30.4; 1.30.6; 1.30.10;
No need to db_init_commands() early any more - it will happen on first
entry to ddb.
 1.29  23-Sep-2007  martin Minor clenaup - db_cmd_loop_done is a bool nowadays, so use true/false
instead of 0/1.
Also make db_init_commands() non-static.
 1.28  22-Sep-2007  martin Add a new option DDB_VERBOSE_HELP that adds online help to ddb.
From Adam Hamsik.
Minor modifications by me, all bugs are probably mine.
 1.27  22-Feb-2007  matt branches: 1.27.4; 1.27.16; 1.27.18;
Fix lossage from boolean_t -> bool and updated x86 bus_dma.
 1.26  05-Sep-2006  uwe branches: 1.26.8;
Mark db_error __attribute__((__noreturn__)).
 1.25  27-Nov-2005  yamt branches: 1.25.4; 1.25.8;
make DDB_COMMANDONENTER sysctl. (ddb.commandonenter)
suggested by Christos Zoulas.
 1.24  01-Jun-2005  drochner branches: 1.24.2; 1.24.8;
more constification fallout
 1.23  29-May-2005  christos Add lots of const.
 1.22  15-Feb-2002  simonb branches: 1.22.16;
ANSIfy, KNF.
Make some variables and functions static when not used outside of a module.
Make variables in headers extern.
Delete the unused db_find_watchpoint() function.
 1.21  17-Aug-2001  thorpej Add `show malloc' to dump the internal state of the MALLOC_DEBUG code.
 1.20  22-Jan-2001  jdolecek branches: 1.20.2; 1.20.4;
Require the machine-dependant DDB commands to be in db_machine_command_table[]
and link it directly to db_command_table[] so that it's not necessary
to do this at runtime. Make db_machine_command_table[] const on all ports.
g/c now unneded stuff, like db_machine_commands_install(), db_machine_init()

Patch written by enami.
 1.19  17-Jan-2001  jdolecek constify a little
 1.18  24-Nov-2000  chs add ddb commands "show uvmexp" and "show ncache".
the former used to be "call uvm_dump", the latter is new.
 1.17  26-May-2000  jhawk Rename the machine-specific stack trace printing functions
from db_stack_trace_cmd() to db_stack_trace_print(),
and add an additional argument, a function pointer for an
output routine (i.e. printf() or db_printf()).

Add db_stack_trace_cmd() in db_command.[ch], calling
db_stack_trace_print() with db_printf() as the printer.

Move count==-1 special handling from db_stack_trace_print() [nee
db_stack_trace_cmd()] to db_stack_trace_cmd() [nascent here].

Again, I'm unable to test compilation on all affected platforms,
so advance apologies for potential brokenness.
 1.16  22-May-2000  jhawk Add a "sifting" command to ddb (named from the Sun OpenPROM command of
the same name); it searches the symbol table(s) for all symbols matching
a given substring, and prints.

Extremely useful for when you forget that critical symbol name.

Also, with /F support (cf. "ls -F") to print a char indicating the
symbol type.
 1.15  10-Apr-2000  chs add ddb commands for printing vnodes and bufs.
 1.14  28-Oct-1999  lukem - change db_cmd_list() to list commands vertically rather than horizontally
- sort entries in the various command tables, so that the `help' lists
are easier to use. this included hacking db_machine_commands_install()
to search for the "machine" entry to change the `more cmds' pointer,
rather than assuming it was the first entry
- add a `sync' command, which is effectively `reboot 0x100'.
- remove db_help_cmd(); it was unused (and was almost a duplicate of
db_cmd_list()).
- move some extern decls to db_output.h, since they're used in more than one
place now
- rename NEXT_TAB to DB_NEXT_TAB and move to db_output.h
 1.13  10-May-1999  thorpej branches: 1.13.2; 1.13.4; 1.13.6;
Improve the pool allocator's diagnostic helpers, adding the ability to
log on a per-pool basis, reentrancy checking, and dumping various pool
information from DDB.
 1.12  12-Apr-1999  pk Quote "AS IS" as in the majority of Carnegy Mellon notices.
 1.11  06-Apr-1999  pk Fix a pasto in copyright text which has been procreating like rabbits..
 1.10  05-Feb-1998  mrg branches: 1.10.4; 1.10.8;
initial import of the new virtual memory system, UVM, into -current.

UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.

this is the rest of the MI portion changes.

this will be KNF'd shortly. :-)
 1.9  11-Sep-1997  scottr Add a 'reboot' command with a single parameter specifying the boot flags.
 1.8  05-Feb-1996  christos branches: 1.8.12;
DDB prototype changes.
 1.7  09-Oct-1994  mycroft Clean up #includes.
 1.6  09-Oct-1994  mycroft Add prototypes.
 1.5  29-Jun-1994  cgd New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
 1.4  23-Mar-1994  pk struct command => struct db_command, and define it in db_command.h
 1.3  15-Feb-1994  mycroft Remove RCS logs.
 1.2  20-May-1993  cgd branches: 1.2.4;
add explicit rcs id
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.2.4.1  14-Nov-1993  mycroft Canonicalize all #includes.
 1.8.12.1  16-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.10.8.2  12-Apr-1999  pk branches: 1.10.8.2.2;
Pullup copyright text corrections.
 1.10.8.1  07-Apr-1999  pk Pull up from trunk: copyright text warts.
 1.10.8.2.2.2  21-Jun-1999  thorpej Sync w/ -current.
 1.10.8.2.2.1  07-Jun-1999  chs merge everything from chs-ubc branch.
 1.10.4.1  09-Nov-1998  chs initial snapshot. lots left to do.
 1.13.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.13.4.1  15-Nov-1999  fvdl Sync with -current
 1.13.2.3  11-Feb-2001  bouyer Sync with HEAD.
 1.13.2.2  08-Dec-2000  bouyer Sync with HEAD.
 1.13.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.20.4.2  16-Mar-2002  jdolecek Catch up with -current.
 1.20.4.1  25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.20.2.2  28-Feb-2002  nathanw Catch up to -current.
 1.20.2.1  24-Aug-2001  nathanw Catch up with -current.
 1.22.16.2  11-Dec-2005  christos Sync with head.
 1.22.16.1  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.24.8.1  29-Nov-2005  yamt sync with head.
 1.24.2.5  21-Jan-2008  yamt sync with head
 1.24.2.4  27-Oct-2007  yamt sync with head.
 1.24.2.3  26-Feb-2007  yamt sync with head.
 1.24.2.2  30-Dec-2006  yamt sync with head.
 1.24.2.1  21-Jun-2006  yamt sync with head.
 1.25.8.1  14-Sep-2006  yamt sync with head.
 1.25.4.1  09-Sep-2006  rpaulo sync with head
 1.26.8.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.27.18.2  09-Jan-2008  matt sync with HEAD
 1.27.18.1  06-Nov-2007  matt sync with HEAD
 1.27.16.1  02-Oct-2007  joerg Sync with HEAD.
 1.27.4.1  09-Oct-2007  ad Sync with head.
 1.30.10.1  02-Jan-2008  bouyer Sync with HEAD
 1.30.6.1  26-Dec-2007  ad Sync with head.
 1.30.4.1  18-Feb-2008  mjf Sync with HEAD.
 1.31.6.3  17-Jan-2009  mjf Sync with HEAD.
 1.31.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.31.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.32.4.2  04-May-2009  yamt sync with head.
 1.32.4.1  16-May-2008  yamt sync with head.
 1.32.2.1  18-May-2008  yamt sync with head.
 1.33.10.1  09-Jan-2009  snj Pull up following revision(s) (requested by haad in ticket #241):
sys/ddb/db_command.c: revision 1.126
sys/ddb/db_command.h: revision 1.34
Fix my bug introduced in rev 1.98 of db_command.c where command prefix
not ambiguous in one table was choosed even if it was ambiguous in
another table in same list. Also apply more KNF rules.
Patch was supplied by uwe@.
 1.33.8.2  28-Apr-2009  skrll Sync with HEAD.
 1.33.8.1  19-Jan-2009  skrll Sync with HEAD.
 1.34.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.35.64.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.40.2.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed