[coldfire-gnu-discuss] GDB with Diab 4.3

Daniel Jacobowitz dan at codesourcery.com
Fri May 8 02:28:01 UTC 2009


On Mon, May 04, 2009 at 07:54:15AM -0700, Wayne wrote:
> 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..

I suspect you were off by one on the version numbers.  At one point, I
know that Diab only produced DWARF version 1 output. And current GDB
indeed does not support that.

It should be easy to tell; if the ELF file has .debug_info, it's
probably DWARF 2.  I don't remember the names typically used by DWARF
1, but I think it's just ".debug".

-- 
Daniel Jacobowitz
CodeSourcery



More information about the coldfire-gnu-discuss mailing list