I have an ELF object file. I want to know which type of debugging info it contains. It was compiled with the Diab compiler (C source) for the PPC architecture. I'm pretty sure it was built with debugging symbols.
I have tried extracting the debugging info with dwarfdump
but I doesn't work so I guess the debugging information is not of type DWARF.
$ dwarfdump file.elf
No DWARF information present in file.elf
Using objdump to show debugging information comes up empty.
$ objdump -g file.elf
file.elf: file format elf32-powerpc
Can it be that this ELF file does not contain debugging info even though the ELF file has sections called .debug_sfnames
, .debug_srcinfo
and .debug.srcinfo
? Or is the debugging info stored in a format that objdump
can't handle?