[RFA]: Remove unused header files.

Andrew Cagney ac131313@cygnus.com
Mon Mar 5 08:11:00 GMT 2001


> Yes and no.  If I was linting GDB configured for the mn10200, it
> regcache.h would be considered necessary, but for other cases it
> would not.  Since I'm not planning on linting every possible config
> before deciding whether a header is unnecessary, it's not up to the
> job.

I think we need to clarify one of the ground rules - should "tm.h"
et.al. files be sucking in the things they refer to and (assuming that
is agreed) should that be addressed before include headers are
eliminated from .c files.

If that isn't done, I've the (rational) fear that these cleanups will
start breaking an unreasonable number of existing targets.  Rational?
Well I'm still cleaning up fallout from regcache.h - I've ~50 tm.h files
that should include regcache.h.

	Andrew



More information about the Gdb-patches mailing list