diff options
author | bde <bde@FreeBSD.org> | 1996-09-14 09:13:15 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-14 09:13:15 +0000 |
commit | 6145ccc494dd78b38c63342fcc1fbcd59fd4eff9 (patch) | |
tree | 5769b091fd5bb0b3d1b27acab5746e34d2229296 /sys/compile | |
parent | cfb1047c906221cf23011b7ee0bcd07c8593ea6a (diff) | |
download | FreeBSD-src-6145ccc494dd78b38c63342fcc1fbcd59fd4eff9.zip FreeBSD-src-6145ccc494dd78b38c63342fcc1fbcd59fd4eff9.tar.gz |
Support statically attaching of ddb commands in non-ddb modules.
The details are hidden in the DB_COMMAND(cmd_name, func_name) and
DB_SHOW_COMMAND(cmd_name, func_name) macros. DB_COMMAND() adds to
the top-level ddb command table and DB_SHOW_COMMAND adds to the
`show' subtable. Most external commands will probably be `show'
commands with no side effects. They should check their pointer
args more carefully than `show map' :-), or ddb should trap internal
faults better (like it does for memory accesses).
The vm ddb commands are temporarily unattached.
ddb.h:
Also declare `db_indent' and db_iprintf() which will replace vm's
`indent' and iprintf().
Diffstat (limited to 'sys/compile')
0 files changed, 0 insertions, 0 deletions