summaryrefslogtreecommitdiffstats
path: root/share/man/man4
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-09-12 08:27:44 +0000
committermpi <mpi@openbsd.org>2017-09-12 08:27:44 +0000
commit23cb5759681b773a5a2e6ea916be06c9ae993d15 (patch)
tree97e50dc5a072330edb598f083235d56ad582f0fd /share/man/man4
parentRemove option DDB_STRUCTINFO. Now that ddb(4) is CTF aware, similar (diff)
downloadwireguard-openbsd-23cb5759681b773a5a2e6ea916be06c9ae993d15.tar.xz
wireguard-openbsd-23cb5759681b773a5a2e6ea916be06c9ae993d15.zip
option DDB_STRUCT is gone, 'show struct' now work in GENERIC.
Diffstat (limited to 'share/man/man4')
-rw-r--r--share/man/man4/ddb.428
-rw-r--r--share/man/man4/options.410
2 files changed, 10 insertions, 28 deletions
diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4
index 29edf6c9d48..ba65c8d0203 100644
--- a/share/man/man4/ddb.4
+++ b/share/man/man4/ddb.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ddb.4,v 1.89 2017/08/14 21:31:00 jmc Exp $
+.\" $OpenBSD: ddb.4,v 1.90 2017/09/12 08:27:44 mpi Exp $
.\" $NetBSD: ddb.4,v 1.5 1994/11/30 16:22:09 jtc Exp $
.\"
.\" Mach Operating System
@@ -25,7 +25,7 @@
.\" any improvements or extensions that they make and grant Carnegie Mellon
.\" the rights to redistribute these changes.
.\"
-.Dd $Mdocdate: August 14 2017 $
+.Dd $Mdocdate: September 12 2017 $
.Dt DDB 4
.Os
.Sh NAME
@@ -348,7 +348,7 @@ is set to
.Ar addr
plus the size of values written.
.Pp
-.Sy Warning:
+.Sy Warning :
since there is no delimiter between expressions, the
command may not parse as you expect.
It is best to enclose each expression in parentheses.
@@ -430,7 +430,7 @@ If the
modifier is specified, print each instruction at each step.
Otherwise, only print the last instruction.
.Pp
-.Sy Warning:
+.Sy Warning :
depending on machine type, it may not be possible to
single-step through some low-level code paths.
On machines with software-emulated single-stepping (e.g., alpha),
@@ -458,7 +458,7 @@ If the
.Cm /c
modifier is given, instructions are counted while executing.
.Pp
-.Sy Warning:
+.Sy Warning :
when counting with
.Cm /c ,
.Nm
@@ -483,7 +483,7 @@ argument defaults to 4.
If you specify a wrong space address, the request is rejected
with an error message.
.Pp
-.Sy Warning:
+.Sy Warning :
attempts to watch wired kernel memory
may cause an unrecoverable error on some systems (e.g., i386).
.\" --------------------
@@ -569,7 +569,7 @@ If
.Ar count
is omitted, all frames are printed.
.Pp
-.Sy Warning:
+.Sy Warning :
user space stack trace is valid
only if the machine dependent code supports it.
.\" --------------------
@@ -733,17 +733,6 @@ If the
modifier is specified the complete object is printed.
.\" --------------------
.It Xo
-.Ic show offset
-.Ar offset
-.Xc
-Prints a list of the known kernel structure fields which occur at the given
-.Ar offset
-from the beginning of the struct, as well as their size.
-The
-.Cm option DDB_STRUCT
-is required for this command to be available.
-.\" --------------------
-.It Xo
.Ic show page
.Op Cm /f
.Ar addr
@@ -814,9 +803,6 @@ as a struct
.Ar name .
Nested structures and bit fields are not printed.
Character arrays are printed as bytes.
-The
-.Cm option DDB_STRUCT
-is required for this command to be available.
.\" --------------------
.It Ic show uvmexp
Displays a selection of uvm counters and statistics.
diff --git a/share/man/man4/options.4 b/share/man/man4/options.4
index 446a2dba351..3e15d4c8c4f 100644
--- a/share/man/man4/options.4
+++ b/share/man/man4/options.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: options.4,v 1.250 2017/05/27 08:03:29 claudio Exp $
+.\" $OpenBSD: options.4,v 1.251 2017/09/12 08:27:44 mpi Exp $
.\" $NetBSD: options.4,v 1.21 1997/06/25 03:13:00 thorpej Exp $
.\"
.\" Copyright (c) 1998 Theo de Raadt
@@ -34,7 +34,7 @@
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: May 27 2017 $
+.Dd $Mdocdate: September 12 2017 $
.Dt OPTIONS 4
.Os
.Sh NAME
@@ -48,7 +48,7 @@ configuration options that may be specified in a kernel config file.
See
.Xr config 8
for information on how to configure and build kernels.
-.Em Note:
+.Em Note :
options are passed to the compile process as
.Fl D
flags to the C compiler.
@@ -90,10 +90,6 @@ Allows a break into the kernel debugger during boot.
Useful when debugging problems that can cause
.Xr init 8
to fail.
-.It Cd option DDB_STRUCT
-Compiles in symbolic information about the various data structures used by the
-kernel, for use within the kernel debugger.
-This option is currently not supported on alpha and m88k based platforms.
.It Cd option DEBUG
Turns on miscellaneous kernel debugging.
Since options are turned into preprocessor defines (see above),