Rufus Smith

Extracting Debug Information from binary (ELF/DWARF?) file. (CodeWarrior for Coldfire Version 6.4)

Discussion created by Rufus Smith on Jun 18, 2012
Latest reply on Jun 7, 2016 by Rufus Smith

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?