dwarfutils

Inspect and manipulate DWARF debug information in ELF objects

brewmacoslinux
Try with needOr install directly
Source

About

Dump and produce DWARF debug information in ELF objects

Commands

dwarfdumpdwarf_producer

Examples

Display all DWARF debug information from an ELF binary$ dwarfdump /path/to/binary
Show only specific DWARF sections (e.g., .debug_info)$ dwarfdump --print-debug-info /path/to/binary
Generate a summary of DWARF information in a binary$ dwarfdump --summary /path/to/binary