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
- To: Wayne <wayne@xxxxxx>
- Subject: Re: [coldfire-gnu-discuss] GDB with Diab 4.3
- From: Daniel Jacobowitz <dan@xxxxxxxxxxxxxxxx>
- Date: Thu, 7 May 2009 22:28:01 -0400
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