This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Accept DWARF 3-format debug info
On Fri, Jun 09, 2006 at 10:28:07AM +0300, Eli Zaretskii wrote:
> In this case, what will happen when GDB sees a DWARF-3 feature it
> doesn't yet support? I think we should make sure it displays a
> warning message, instead of throwing an internal error (or some
> similar fatal reaction).
Same thing that happens when we see a DWARF-2 feature we don't support
;-) If I remember right, we support most of the DWARF-3 changes
relative to DWARF-2 at this point, though there's at least a few bits
of the original DWARF-2 that we're missing or bad at.
GCC is actually a DWARF-3 producer in almost all ways. It just didn't
bump the version number, to avoid upsetting consumers, since most of
the changes are forwards-compatible.
--
Daniel Jacobowitz
CodeSourcery