[RFA/dwarf] Eliminate dwarf2_tmp_obstack

Jim Blandy jimb@redhat.com
Mon Apr 19 12:42:00 GMT 2004


Eli Zaretskii <eliz@elta.co.il> writes:

> > Date: Sun, 18 Apr 2004 23:17:44 -0400
> > From: Daniel Jacobowitz <drow@false.org>
> > 
> > dwarf2_tmp_obstack serves as a general purpose dumping ground.  After my
> > previous patches, there are only two things left on it: the linked list we
> > use to fudge GCC 2.95 line number tables (some day soon I think this hack
> > should go away; it was primarily for the benefit of the testsuite, and was
> > fixed at least as of GCC 3.1)
> 
> FWIW, I don't think it's time to dump support for GCC 2.95: it is
> still in wide use as the system compiler on many GNU platforms.

I think you are right about the prevalence of GCC 2.95.  Michael
Chastain has made the same sorts of comments.

But dropping the kludge in question is not the same as dropping GCC
2.95 support.  The kludge is a fix for a specific GCC 2.95 bug, and if
I remember right, GDB had been in widespread use with that compiler
for several releases before the bug got fixed.  I think GCC 2.95
defaulted to STABS on the i386 anyway.  (I apologize for being too
lazy to search the archives to verify all this.)



More information about the Gdb-patches mailing list