This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: Remove unused header files.
- To: jtc at redback dot com
- Subject: Re: [RFA]: Remove unused header files.
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 02 Mar 2001 11:23:04 -0500
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <5mitltndwn.fsf@jtc.redback.com>
J.T.
GDB currently has some really obscure and effectivly hidden include
dependencies. For instance, given the target mn10200-elf you find:
values.c uses EXTRACT_RETURN_VALUE
config/mn10200/tm-mn10200.h's definition
refers to something declared in regcache.h
values.c includes "tm.h" to get at EXTRACT_RETURN_VALUE and
consequently needs a declaration for regcache.h.
Does your lint handle this?
Andrew