[RFA] Revised C++ ABI abstraction patches

Andrew Cagney ac131313@cygnus.com
Thu Mar 15 20:11:00 GMT 2001

Jim Blandy wrote:
> Stan Shebs <shebs@apple.com> writes:
> > Jim Blandy wrote:
> > > [...] stuff like partial-stab.h, where
> > > someone put 25k of code in a header file, which gets #included into
> > > two different .c files, to save function call overhead.  Good call.
> >
> > Ah, youth... Once upon a time, when machines were much slower and
> > compilers did less optimization, the partial-stab.h trick was an
> > important speedup for psymtab reading.
> Well, it's kind of dumb to second-guess experiences other people had
> fifteen years ago, but still, I double-doubt this.  There's too much
> other processing going on in that file --- as I've said, I've stepped
> through it many a time --- for the function call overhead to be the
> real issue.

Yes.  Perhaphs the task of converting that header into functions should
be declared an ``obvious fix'' :-)


More information about the Gdb-patches mailing list