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: coldfire-gnu-discuss@xxxxxxxxxxxxxxxx
- Subject: Re: [coldfire-gnu-discuss] GDB with Diab 4.3
- From: Wayne <wayne@xxxxxx>
- Date: Fri, 08 May 2009 13:56:23 -0700
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Daniel Jacobowitz wrote:
<blockquote cite="mid:20090508022800.GY1334@xxxxxxxxxxxxxxxx"
type="cite">
<pre wrap="">On Mon, May 04, 2009 at 07:54:15AM -0700, Wayne wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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..
</pre>
</blockquote>
<pre wrap=""><!---->
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".
</pre>
</blockquote>
I think you are right, I seem to remember now that the version was 1.5.
So I guess that changes my question just a little bit. I know that Gdb
was working with our debug info, at least a little bit, until there was
an update to support the 5474. Is is possible to convert the 1.5 info
to 2.0? I would assume that some things would be missing.<br>
</body>
</html>