Annotation of src/usr.bin/ctfconv/ctfconv.1, Revision 1.4
1.4 ! jasper 1: .\" $OpenBSD: ctfconv.1,v 1.3 2017/08/11 16:45:33 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.2 jasper 17: .Dd $Mdocdate: August 11 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.4 ! jasper 25: .Fl d file
! 26: .Nm ctfconv
1.1 mpi 27: .Fl l Ar label
28: .Fl o Ar outfile
29: .Ar file
30: .Sh DESCRIPTION
31: The
32: .Nm
33: utility parses DWARF debug sections of
34: .Ar file
35: to generate
36: .Dv CTF
37: data.
38: .Pp
39: The options are as follows:
40: .Bl -tag -width Ds
41: .It Fl d
42: Display types as if they would be dumped from a
1.3 jmc 43: .Dv .SUNW_ctf
1.1 mpi 44: section by
45: .Xr ctfdump 1 .
46: .It Fl l Ar label
47: Set the
48: .Dv CTF
1.3 jmc 49: label to
1.1 mpi 50: .Ar label .
51: .It Fl o Ar outfile
52: Write the raw section in
53: .Ar outfile .
54: .El
55: .Sh EXIT STATUS
56: .Ex -std ctfconv
57: .Sh SEE ALSO
58: .Xr ctfdump 1 ,
59: .Xr ctfstrip 1