ctfconvert(1)

ctfconvert1

Convert debug data to ctf data

Usage

ctfconvert [-gis] -l label -L labelenv [-o outfile] object_file

Overview

The ctfconvert utility converts debug information from a binary file to CTF data and replaces the debug section of that file with a CTF section called SUNW_ctf. This new section is added to the input file, unless the -o option is present. You can also opt to keep the original debugging section with the -g option.

The following options are available:

-l label

Sets the label as label.

-L labelenv

Instructs ctfconvert to read the label from the environment variable labelenv.

-g

Don't delete the original debugging section.

-i

Ignore object files built from other languages than C.

-s

Use the .dynsym ELF section instead of the .symtab ELF section.

-o outfile

Write the output to file in outfile.

Exit status

The ctfconvert utility exits 0 on success, and >0 if an error occurs.

Releases

3 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9–10

History

The ctfconvert utility first appeared in FreeBSD 7.0.

Authors

The CTF utilities came from OpenSolaris.

From ctfutils 10.3~svn297264-2+b1 in Debian 10 (Buster). Parsed by carta from the page's mdoc source.