diff options
author | jkh <jkh@FreeBSD.org> | 1995-12-19 23:42:56 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-12-19 23:42:56 +0000 |
commit | 7b8e503ac7e04bc4b7b49c919b730dcc80d967ec (patch) | |
tree | d9334fb392ec5d9390cb783ca218e85ebf18832f /gnu | |
parent | 91849f5fa5f7dc38d162a152b0bde4e91639a82c (diff) | |
download | FreeBSD-src-7b8e503ac7e04bc4b7b49c919b730dcc80d967ec.zip FreeBSD-src-7b8e503ac7e04bc4b7b49c919b730dcc80d967ec.tar.gz |
Document the -k and -w flags.
Submitted by: Gary Jennejohn <gj>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/gdb/gdb.1 | 21 | ||||
-rw-r--r-- | gnu/usr.bin/gdb/gdb/gdb.1 | 21 |
2 files changed, 40 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gdb/gdb.1 b/gnu/usr.bin/binutils/gdb/gdb.1 index ee14f70..0245ec8 100644 --- a/gnu/usr.bin/binutils/gdb/gdb.1 +++ b/gnu/usr.bin/binutils/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 diff --git a/gnu/usr.bin/gdb/gdb/gdb.1 b/gnu/usr.bin/gdb/gdb/gdb.1 index ee14f70..0245ec8 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 |