[coldfire-gnu-discuss] GDB with Diab 4.3
Mark Mitchell
mark at codesourcery.com
Mon May 4 00:27:20 UTC 2009
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.
> Using GCC, at least for development work might be possible but we use a
> proprietary OS that is written in Diab assembly. Would it be possible to
> link in the object file compiled by Diab into a binary generated by GCC?
Probably not. The Application Binary Interface for ColdFire just isn't
that well-defined, or uniformly implemented. It *might* work, but
you're likely to run into some problems.
--
Mark Mitchell
CodeSourcery
mark at codesourcery.com
(650) 331-3385 x713
More information about the coldfire-gnu-discuss
mailing list