diff options
Diffstat (limited to 'usr/src/man/man1/mdb.1')
-rw-r--r-- | usr/src/man/man1/mdb.1 | 42 |
1 files changed, 32 insertions, 10 deletions
diff --git a/usr/src/man/man1/mdb.1 b/usr/src/man/man1/mdb.1 index 653404dc77..e197836a1c 100644 --- a/usr/src/man/man1/mdb.1 +++ b/usr/src/man/man1/mdb.1 @@ -1,17 +1,17 @@ '\" te .\" Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved. -.\" Copyright (c) 2012, Joyent, Inc. All Rights Reserved. +.\" Copyright (c) 2019, Joyent, Inc. All Rights Reserved. .\" Copyright (c) 2014, 2017 by Delphix. All rights reserved. .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH MDB 1 "Dec 9, 2017" +.TH MDB 1 "Feb 21, 2019" .SH NAME mdb \- modular debugger .SH SYNOPSIS .LP .nf -\fBmdb\fR [\fB-fkmuwyAFKMSUW\fR] [\(+-o \fIoption\fR] [\fB-p\fR \fIpid\fR] [\fB-s\fR \fIdistance\fR] +\fBmdb\fR [\fB-fkmuwyAFKMSUW\fR] [\(+-o \fIoption\fR] [\fB-b\fR \fIVM\fR] [\fB-p\fR \fIpid\fR] [\fB-s\fR \fIdistance\fR] [\fB-I\fR \fIpath\fR] [\fB-L\fR \fIpath\fR] [\fB-P\fR \fIprompt\fR] [\fB-R\fR \fIroot\fR] [\fB-V\fR \fIdis-version\fR] [\fB-e\fR \fIexpr\fR] [object [core] | core | suffix] .fi @@ -50,12 +50,13 @@ different contexts, including live and post-mortem. .LP The \fItarget\fR is the program being inspected by the debugger. \fBmdb\fR currently provides support for the following types of targets: user processes, -user process core files, the live operating system (via \fB/dev/kmem\fR and -\fB/dev/ksyms\fR), operating system crash dumps, user process images recorded -inside an operating system crash dump, \fBELF\fR object files, and raw binary -files. Each target exports a standard set of properties, including one or more -address spaces, one or more symbol tables, a set of load objects, and a set of -threads that can be examined using the debugger commands described below. +user process core files, live bhyve VMs, the live operating system (via +\fB/dev/kmem\fR and \fB/dev/ksyms\fR), operating system crash dumps, user +process images recorded inside an operating system crash dump, \fBELF\fR object +files, and raw binary files. Each target exports a standard set of properties, +including one or more address spaces, one or more symbol tables, a set of load +objects, and a set of threads that can be examined using the debugger commands +described below. .sp .LP A debugger command, or \fIdcmd\fR (pronounced dee-command) in \fBmdb\fR @@ -1345,7 +1346,7 @@ N newline O octal unsigned int (4 bytes) P symbol (4 or 8 bytes) Q octal signed int (4 bytes) -R binary int (8 bytes) +R binary unsigned long long (8 bytes) S T{ string using C string notation (variable size) T} @@ -1368,6 +1369,7 @@ f float (4 bytes) g octal signed long long (8 bytes) h swap bytes (2 bytes) i disassembled instruction (variable size) +j jazzed-up binary unsigned long long (8 bytes) n newline o octal unsigned short (2 bytes) p symbol (4 or 8 bytes) @@ -3697,6 +3699,15 @@ system or an operating system crash dump. .sp .ne 2 .na +\fB\fB-b\fR \fIVM\fR\fR +.ad +.RS 15n +Attaches to and stops the specified bhyve VM. +.RE + +.sp +.ne 2 +.na \fB\fB-e\fR \fIexpr\fR\fR .ad .RS 15n @@ -3931,6 +3942,17 @@ default. .sp .ne 2 .na +\fB\fBautowrap\fR\fR +.ad +.RS 25n +Forces output to be autowrapped at the terminal width. When this option +is enabled, \fBmdb\fR will autowrap output, making some attempt to inject +newlines at word boundaries. This option is disabled by default. +.RE + +.sp +.ne 2 +.na \fB\fBfollow_exec_mode=\fR\fImode\fR\fR .ad .RS 25n |