Re: [coldfire-gnu-discuss] GDB with Diab 4.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldfire-gnu-discuss] GDB with Diab 4.3



Mark Mitchell wrote:
Wayne wrote:

If I remember correctly Diab uses the Dwarf 2 standard and the Coldfire
Gdb now uses Dwarf 3. Is there are way to use the current version of Gdb
with binaries containing older version of the Dwarf format (either 1 or
2)? Is ther some sort of utility available to convert the debug
information?

GDB can read DWARF 2 binaries just fine.  However, DWARF 2 isn't as
standardized as you might think; different compilers tend to have
different views of what the standard says in some respects.  So, how
well it will work is a bit of an open question.

Yes, I was reading about ELF and seems to confirm what I was reading. The thing is that when I first starting trying to get gdb to work it seemed to read our binaries fine but was having support issues with the 5474. A short time later Code Sourcery released a version that worked with the 5474 but it no longer recognized the debug information in our binaries. I guess I will try the latest version. Maybe the dwarf problem was a bug in the release I tried..

Thanks,

Wayne

Wayne