This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [autodeps] gnu-nat, autogenerated files


>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:

Pedro> These are generated headers, built from the corresponding .defs files in
Pedro> the tree.  Their build rules are in config/i386/i386gnu.mh.

Pedro> Is this the right approach?

Yes.


I didn't know about the .mh files, sorry about that.  I read through
them all just now and I noticed that they inconsistently use NAT_FILE.
Some use config/ and some do not, e.g.:

config/pa/linux.mh:NAT_FILE= config/nm-linux.h
config/alpha/alpha-osf3.mh:NAT_FILE= nm-osf3.h

AFAICT this variable is only used for the TAGS rule.  So, maybe it
doesn't matter much.  Or maybe it could just be deleted.

Tom


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