1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Minor fixups. Mention that DDB now has a history, and understands

emacs-style editing (which it used to have for a long time already).
Also mention the `gdb' and `help' commands.  Other commands need an
overhaul, too (like the various `show' subcommands), but i don't feel
very competent for these.
This commit is contained in:
Joerg Wunsch 1997-04-12 21:54:48 +00:00
parent eae6ab5e98
commit ab38bd50f6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24841

View File

@ -57,7 +57,7 @@
.\" Created.
.\" [90/08/30 dbg]
.\"
.\" $Id$
.\" $Id: ddb.4,v 1.5 1997/02/22 13:24:26 peter Exp $
.Dd January 16, 1996
.Dt DDB 4
.Os FreeBSD
@ -116,6 +116,14 @@ one more line
.It Li q
abort the current command, and return to the command input mode
.El
.Pp
Finally,
.Nm
provides a small (currently 10 items) command history, and offers
simple emacs-style command line editing capabilities. In addition to
the emacs control keys, the usual ANSI arrow keys might be used to
browse through the history buffer, and move the cursor within the
current line.
.Sh COMMANDS
.Bl -ohang -compact
.It Cm examine
@ -430,6 +438,20 @@ with an error message.
Attempts to watch wired kernel memory
may cause unrecoverable error in some systems such as i386.
Watchpoints on user addresses work best.
.It Cm gdb
Toggles between remote GDB and DDB mode. In remote GDB mode, another
machine is required that runs
.Xr gdb 1
using the remote debug feature, with a connection to the serial
console port on the target machine. Currently only available on the
.Em i386
architecture.
.It Cm help
Print a short summary of the available commands and command
abbreviations.
.El
.Sh VARIABLES
@ -528,6 +550,8 @@ indirection. It may be followed by a
.Sq Li :
and modifiers as described above.
.El
.Sh SEE ALSO
.Xr gdb 1
.Sh HISTORY
The
.Nm