summaryrefslogtreecommitdiff
path: root/usr/src/man/man1/ctfdump.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man1/ctfdump.1')
-rw-r--r--usr/src/man/man1/ctfdump.134
1 files changed, 4 insertions, 30 deletions
diff --git a/usr/src/man/man1/ctfdump.1 b/usr/src/man/man1/ctfdump.1
index b80c856eaf..eb0fd10165 100644
--- a/usr/src/man/man1/ctfdump.1
+++ b/usr/src/man/man1/ctfdump.1
@@ -9,9 +9,9 @@
.\" http://www.illumos.org/license/CDDL.
.\"
.\"
-.\" Copyright 2018, Joyent, Inc.
+.\" Copyright (c) 2015, Joyent, Inc.
.\"
-.Dd Oct 2, 2018
+.Dd Oct 4, 2014
.Dt CTFDUMP 1
.Os
.Sh NAME
@@ -19,7 +19,7 @@
.Nd dump parts of ctf data from files
.Sh SYNOPSIS
.Nm ctfdump
-.Op Fl cdfhlsSt
+.Op Fl dfhlsSt
.Op Fl p Ar parent
.Op Fl u Ar outfile
.Ar file
@@ -69,15 +69,9 @@ data can be inspected using
and other tools such as
.Xr mdb 1 .
.Lp
-.Nm
-in
-.Fl c
-mode will generate C-style output, which can be used for comparison.
-Note that this output is not directly compilable.
-.Lp
When no options are specified,
.Nm
-displays all information, except the C-style output.
+displays all information.
However, when the
.Fl u
option is used, then no information is displayed by default, unless
@@ -85,10 +79,6 @@ requested through the appropriate option.
.Sh OPTIONS
The following options are supported:
.Bl -hang -width Ds
-.It Fl c
-.Bd -filled -compact
-Generate C-style output.
-.Ed
.It Fl d
.Bd -filled -compact
Dump the types of symbols that correspond to objects.
@@ -417,22 +407,6 @@ $ mdb ./ctf.out
cth_strlen = 0x7c9c
}
.Ed
-.Lp
-.Sy Example 3
-Dumping C-style output
-.Bd -literal -offset 6n
-$ ctfdump -c ./genunix | more
-/* Types */
-
-typedef Elf64_Addr Addr;
-
-typedef unsigned char Bool;
-
-typedef struct CK_AES_CCM_PARAMS CK_AES_CCM_PARAMS;
-
-typedef struct CK_AES_GCM_PARAMS CK_AES_GCM_PARAMS;
-\&...
-.Ed
.Sh INTERFACE STABILITY
The command syntax is
.Sy Committed .