I am trying to extract the debug symbol information from the binary output file of the compiler.
(Specifically I want to get Structure Field names and Offsets for certain structures in my program)
This information looks like it is in the .debug section of the ELF file output.
But I can't seem to get the "standard" programs from the internet: readelf, objdump to dump the fields. I think
they may be using a different format of the DWARF specification.
Are there any utilities that can dump the debug information? Or shall I continue rolling my own?