Annotation of src/usr.bin/ctfconv/ctfconv.1, Revision 1.7
1.7 ! jmc 1: .\" $OpenBSD: ctfconv.1,v 1.6 2017/08/12 20:03:16 jmc Exp $
1.1 mpi 2: .\"
3: .\" Copyright (c) 2016 Martin Pieuchot <mpi@openbsd.org>
4: .\"
5: .\" Permission to use, copy, modify, and distribute this software for any
6: .\" purpose with or without fee is hereby granted, provided that the above
7: .\" copyright notice and this permission notice appear in all copies.
8: .\"
9: .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10: .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11: .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12: .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13: .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14: .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15: .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16: .\"
1.6 jmc 17: .Dd $Mdocdate: August 12 2017 $
1.1 mpi 18: .Dt CTFCONV 1
19: .Os
20: .Sh NAME
21: .Nm ctfconv
22: .Nd generates a raw CTF section from debug data
23: .Sh SYNOPSIS
24: .Nm ctfconv
1.5 jasper 25: .Op Fl d
1.1 mpi 26: .Fl l Ar label
27: .Fl o Ar outfile
28: .Ar file
29: .Sh DESCRIPTION
30: The
31: .Nm
32: utility parses DWARF debug sections of
33: .Ar file
34: to generate
35: .Dv CTF
36: data.
37: .Pp
38: The options are as follows:
39: .Bl -tag -width Ds
40: .It Fl d
41: Display types as if they would be dumped from a
1.3 jmc 42: .Dv .SUNW_ctf
1.1 mpi 43: section by
1.6 jmc 44: .Xr ctfdump 1
1.5 jasper 45: and exit.
1.7 ! jmc 46: This option cannot be used in conjunction with other modes of operation.
1.1 mpi 47: .It Fl l Ar label
48: Set the
49: .Dv CTF
1.3 jmc 50: label to
1.1 mpi 51: .Ar label .
52: .It Fl o Ar outfile
53: Write the raw section in
54: .Ar outfile .
55: .El
56: .Sh EXIT STATUS
57: .Ex -std ctfconv
58: .Sh SEE ALSO
59: .Xr ctfdump 1 ,
60: .Xr ctfstrip 1