mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-29 15:10:57 +01:00
Document the -k and -w flags.
Submitted by: Gary Jennejohn <gj>
This commit is contained in:
parent
994fdef98a
commit
4564c19cc7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12935
@ -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
|
||||
@ -280,6 +282,23 @@ command options and arguments have been processed.
|
||||
``Quiet''. Do not print the introductory and copyright messages. These
|
||||
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
|
||||
|
@ -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
|
||||
@ -280,6 +282,23 @@ command options and arguments have been processed.
|
||||
``Quiet''. Do not print the introductory and copyright messages. These
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user