summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ddb.4
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-04-12 21:54:48 +0000
committerjoerg <joerg@FreeBSD.org>1997-04-12 21:54:48 +0000
commita3f8df766a8397b52642f21c30db12a13315b3c0 (patch)
tree5193f1994d156b622bbea7598c4fb1cc6dfb4881 /share/man/man4/ddb.4
parent66e9a34c96338c92ab132bee483fcae440990c8b (diff)
downloadFreeBSD-src-a3f8df766a8397b52642f21c30db12a13315b3c0.zip
FreeBSD-src-a3f8df766a8397b52642f21c30db12a13315b3c0.tar.gz
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.
Diffstat (limited to 'share/man/man4/ddb.4')
-rw-r--r--share/man/man4/ddb.426
1 files changed, 25 insertions, 1 deletions
diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4
index 42e4562..ded8fd0 100644
--- a/share/man/man4/ddb.4
+++ b/share/man/man4/ddb.4
@@ -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
OpenPOWER on IntegriCloud