You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some strange reason, ::help doesn't seem to do as much as one might reasonably expect on a Helios system...
This is what it looks like on an OmniOS r151046ac system:
$ LANG=C LC_ALL=C mdb -e '::help dis'
NAME
dis - disassemble near addr
SYNOPSIS
[ addr ] ::dis [-abfw] [-n cnt] [addr]
DESCRIPTION
Disassembles instructions starting at the final argument or the current
value of dot. If the address is the start of a function, the entire
function is disassembled, or else a window of instructions before and after
the disassembled address are displayed.
OPTIONS
-a Print instruction addresses as numeric values instead of
symbolic values.
-b Print instruction addresses as both numeric and symbolic values.
-f Read instructions from the target's object file instead of the
target's virtual address space.
-n instr Display 'instr' instructions before and after the given address.
-w Force window behavior, even at the start of a function.
EXAMPLES
::dis
clock::dis
::dis gethrtime
set_freemem+0x16::dis -n 4
ATTRIBUTES
Target: proc
Module: mdb
Interface Stability: Evolving
This is specific to the command. In particular, this isn't happening with ::typedef and the normal illumos source has no help message for ::dis. This is because illumos-omnios pulled in:
commit 6ae988a66abd6e53f1d2a0029e7022e49aeb23ea
Author: Jason King <[email protected]>
Date: Sun Jan 20 02:22:39 2019 +0000
OS-7903 Document mdb(1) ::dis flags
Reviewed by: John Levon <[email protected]>
Approved by: John Levon <[email protected]>
For some strange reason,
::help
doesn't seem to do as much as one might reasonably expect on a Helios system...This is what it looks like on an OmniOS r151046ac system:
And on a Helios 2.0 system:
The text was updated successfully, but these errors were encountered: