GDB Debugger Lands CTF Support
Written by Michael Larabel in GNU on 7 October 2019 at 06:32 AM EDT. 4 Comments
GNU --
The GNU Debugger (GDB) now has support for the Compact C Type Format following support for this debugging information format having been added to the GCC compiler and Binutils.

The CTF debug format is described as "a reduced form of debugging information whose main purpose is to describe the type of C entities such as structures, unions, typedefs and function arguments at the global scope only. It does not contain debug information about source lines, location expressions, or local variables."

CTF is a simpler format than DWARF with a goal of being faster and simpler than dealing with debuginfo packages. CTF was developed by Sun/Oracle and the format is documented here.

In plumbing the GNU toolchain for CTF support, GDB now has initial support.
Related News
About The Author
Author picture

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter or contacted via

Popular News This Week