This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA]: Remove unused header files.



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]