Commit Graph

84 Commits

Author SHA1 Message Date
yamt 288ca6911b document "show all pools". 2005-12-01 14:20:47 +00:00
wiz de29fc3303 Sort SEE ALSO. Fix typo. 2005-11-28 20:05:49 +00:00
yamt 5ac8f2eb47 document DDB_COMMANDONENTER. 2005-11-26 12:17:08 +00:00
fredb 556db3aecb Expand the description of "reboot" slightly: add cross-references to
reboot(2) and reboot(8), and especially document RB_DUMP -- which is,
in fact, documented in reboot(2), if you'd only known to look there.
2005-02-14 18:14:27 +00:00
wiz f042855102 Bump date for tee_msgbuf; new sentence, new line. 2004-09-30 09:20:52 +00:00
reinoud 22f1132820 Implement ddb setting that allows all ddb output to be teed into the
kernel message buffer/log. Its off by default and can be switched on in the
kernel configuration on build time, be set as a variable in ddb and be set
using sysctl.

This adds the sysctl value
	ddb.tee_msgbuf = 0
by default.

The functionality is especially added and aimed for developers who are not
blessed with a serial console and wish to keep all their ddb output in the
log. Specifying /l as a modifier to some selected commands will also put
the output in the log but not all commands provide one nor has the same
meaning for all commands.

This feature could in the future also be implemented as an ddb command but
that could lead to more bloat allthough maybe easier for non developpers to
use when mailing their backtraces from kernel crashes.
2004-09-29 23:54:11 +00:00
jdc a1dcfde51e Add hpcarm and sparc64 key sequences.
Remove sun3x key sequence (no longer a separate port).
2004-03-02 20:57:45 +00:00
wiz 5076ce85e9 Mention hw.cnmagic. From Christian Biere in PR 24405.
Also, Xr cnmagic(9) and bump date.
2004-02-13 17:22:30 +00:00
wiz b460383205 Mention how to enter DDB on vax. From Brian Chase in PR 23740. 2003-12-14 09:40:07 +00:00
wiz 78c37c358f NetBSD -> .Nx; use Dv for an option name; bump date for previous. 2003-11-18 18:51:23 +00:00
dbj 6a88e9174b add "show mount" ddb command 2003-11-18 18:26:18 +00:00
lukem 6af0268550 document the (more useful) flags for `reboot' 2003-10-26 01:44:22 +00:00
wiz 484ba54613 Bump date for previous, and escape an exclamation mark so it
gets marked up.
2003-09-21 15:18:33 +00:00
thorpej 7cc3c61aa7 Document "show sched_qs". 2003-09-20 15:15:39 +00:00
wiz 6e047dae78 Bump date for last. 2003-07-04 13:09:58 +00:00
simonb dc90e8e0f5 Document the new "count" argument to the dmesg command. 2003-07-02 07:06:07 +00:00
wiz 34680fdbdf Fix Ns usage; quote exclamation mark. 2003-06-27 18:16:45 +00:00
wiz ed99226267 Remove some superfluous macro calls. 2003-06-26 10:23:23 +00:00
wiz a5016fab1f New sentence, new line. Bump date for last. Add missing "the". 2003-05-18 09:04:52 +00:00
atatat b5329c1d85 (1) Don't print the message buffer (via ddb's dmesg command) if the
message buffer has not yet been set up, mimicking code from the top of
the sysctl routine for retrieving the message buffer.

(2) Add a /l modifier to the trace command.  This makes it print the
backtrace using printf() instead of db_printf(), which has the nice
side-effect of also putting it into the message buffer.  A kernel with
ddb in it but disabled (ie, ddb.onpanic set to zero) will print a
backtrace (which ends up in the message buffer) before dumping (or
not, depending on the value of kern.dump_on_panic) and rebooting, but
if ddb is not disabled, the backtrace is not printed, and there's no
way to get it to display a backtrace such that you can retrieve it
after the dump.  The backtrace printed by gdb is sometimes a little
different.

(3) Documentation for the above.
2003-05-15 13:18:18 +00:00
wiz a65567f59b Hack around ".Nm" introducing newlines in the SYNOPSIS section.
Reported by Kouichiro Hiratsuka via uebayasi.
2003-05-08 05:38:10 +00:00
wiz 09c94bad02 Uppercase prom and eeprom. 2003-03-30 18:05:22 +00:00
wiz 2c9762a5ec Mention how to enter ddb on macppc. Bump date and copyright. 2003-03-04 12:02:51 +00:00
wiz b843a004bc Drop trailing space. 2003-03-03 06:48:25 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
jmc 1ed82b5b2c Add a synonym for trace - 'bt' and document it 2003-02-13 23:50:33 +00:00
uch f0d5a0eb69 document sh3 and hpcsh usage. 2002-05-09 16:42:16 +00:00
simonb dbebadf72e Document "show event". 2002-02-15 12:20:33 +00:00
ross 4fa402f116 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-13 08:17:26 +00:00
mrg c41c89d556 fix typo: u-are -> u-area 2002-01-01 08:03:43 +00:00
jhawk a21d1ea7ac Convenience variables (workXX) don't work, so don't document them. 2001-12-31 00:35:21 +00:00
wiz c81d1dfd39 Sort sections, sort SEE ALSO, and some formatting improvements. 2001-09-12 18:35:28 +00:00
wiz 7da30c83ac Change xref for vmstat(8) to vmstat(1).
Whitespace, punctuation and spelling fixes while I'm here.
2001-05-06 23:48:31 +00:00
msaitoh 6a1b4d087c describe about $fromconsole 2001-04-11 23:26:09 +00:00
jhawk 3dce135b76 Copyright 1997-2001 (range).
Document some stuff:
  show breaks
  show buf
  show ncache
  show page
  show pool
  show uvmexp
  show vnode
Sprinkle some commas.
2001-02-12 04:04:37 +00:00
mrg 718e340319 document sparc64 usage. 2000-11-26 00:44:16 +00:00
jhawk 84ceb5dfe7 Fix long-standing inconsistency between manapage and code.
The "ditto" character is " (double-quote); not , (comma) as
indicated in the manpage; and not ' (single-quote) as indicated
in the man.old -style manpage from which the mdoc manpage was derived.

Some other versions of ddb use single-quote for this feature, and this
part of the code may change again in the near future, but the documentation
now affects reality now.
they
2000-06-07 13:24:11 +00:00
jhawk ef5465cf9f Note "sifting" requires backslash escapes for leading digits. 2000-05-23 23:48:43 +00:00
jhawk 41ebaaaf09 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.
2000-05-22 14:49:10 +00:00
jhawk 6bea74b95a BREAK gets ddb on the i386 serial console
fix ")." misconstruction (mandoc)
2000-05-22 11:46:07 +00:00
jhawk b931e9206f Sort commands alphabetically (wow, much easier to find things now).
Fix few commands using Cm instead of Ic [consisntency].

Make .Bl's -compact in most cases (where items are one-line entries);
dramatically improves readability
2000-05-22 11:28:36 +00:00
soren d07e520289 No more 'mach halt' on MIPS. 2000-05-21 05:42:01 +00:00
jhawk 6799326e44 Comment out "xf" and "xb"; they aren't implemented and don't
ever appear to have been.
2000-05-20 02:28:33 +00:00
jhawk f9d6838fb8 Document "!" as a synonym for "call" 2000-05-15 20:37:56 +00:00
mycroft 1f2cf096b8 GC spurious blank lines. 2000-05-13 15:22:15 +00:00
jhawk a71de73182 From kern/9569.
Preserve ddb's idea of "count" from one command to the next if
repeating a command via hitting newline.
2000-04-13 22:48:29 +00:00
soren 9c16a041dd Remove MIPS/trapdump.
Mention MIPS/kvtop.
2000-01-26 13:37:57 +00:00
takemura 51ccd3e8ea Add a description about key sequences for hpcmips. 2000-01-22 05:28:00 +00:00
lukem d942adadb9 document "sync" command 1999-10-28 06:42:31 +00:00
ross 725b2cb79a Document new `L' format modifier. 1999-05-31 07:05:56 +00:00