diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-12-19 23:42:56 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-12-19 23:42:56 +0000 |
commit | 4564c19cc716e3956f5dac7b07b688b16526f8ee (patch) | |
tree | d9334fb392ec5d9390cb783ca218e85ebf18832f /gnu/usr.bin/gdb | |
parent | 994fdef98a51dc1bf8844e615496daa2947cbe3c (diff) | |
download | src-4564c19cc716e3956f5dac7b07b688b16526f8ee.tar.gz src-4564c19cc716e3956f5dac7b07b688b16526f8ee.zip |
Document the -k and -w flags.
Submitted by: Gary Jennejohn <gj>
Notes
Notes:
svn path=/head/; revision=12935
Diffstat (limited to 'gnu/usr.bin/gdb')
-rw-r--r-- | gnu/usr.bin/gdb/gdb/gdb.1 | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/gdb/gdb.1 b/gnu/usr.bin/gdb/gdb/gdb.1 index ee14f7073451..0245ec81cc8c 100644 --- a/gnu/usr.bin/gdb/gdb/gdb.1 +++ b/gnu/usr.bin/gdb/gdb/gdb.1 @@ -1,6 +1,6 @@ .\" Copyright (c) 1991 Free Software Foundation .\" See section COPYING for conditions for redistribution -.\" $Id: gdb.1,v 1.1 1994/01/28 12:39:43 pk Exp $ +.\" $Id: gdb.1,v 1.2 1994/12/30 23:25:45 jkh Exp $ .TH gdb 1 "4nov1991" "GNU Tools" "GNU Tools" .SH NAME gdb \- The GNU Debugger @@ -11,6 +11,8 @@ gdb \- The GNU Debugger .RB "[\|" \-help "\|]" .RB "[\|" \-nx "\|]" .RB "[\|" \-q "\|]" +.RB "[\|" \-k "\|]" +.RB "[\|" \-w "\|]" .RB "[\|" \-batch "\|]" .RB "[\|" \-cd=\c .I dir\c @@ -281,6 +283,23 @@ command options and arguments have been processed. messages are also suppressed in batch mode. .TP +.B \-kernel +.TP +.B \-k +Puts GDB into kernel debugging mode. If no executable file is specified then +/kernel is used. If no core file is specified then /dev/mem is +used. Crash dumps can be examined by specifying both an executable and +a core file. + +.TP +.B \-wcore +.TP +.B \-w +This flag is only effective when debugging a "live" kernel. It makes the +core file (/dev/mem) writable so that kernel variables can be changed +during a debugging session. Use this with caution ! + +.TP .B \-batch Run in batch mode. Exit with status \c .B 0\c |