gcc - gdb compatibility issue

Joel Brobecker brobecker@adacore.com
Mon Apr 27 06:32:00 GMT 2009


> > I am using gcc-4.3.3 and gdb 5.3 version.
> 
> That's a rather new GCC and rather old GDB.

One of the major problems of debugging GCC 4.3 code with such an old
GDB is that GDB 5.3 doesn't handle location lists (assuming that
the debugging info is DWARF). That may be your problem.

Paul provided a lot of very good advice.  If that doesn't work, you
might want to try the current CVS HEAD or our latest release, which
is 6.8. I'm seeing a lot of hard work being done by several contributors
towards 7.0 as well which hopefully we'll release before June this year.

-- 
Joel



More information about the Gdb mailing list