[autodeps] gnu-nat, autogenerated files

Tom Tromey tromey@redhat.com
Tue Sep 9 16:09:00 GMT 2008


>>>>> "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



More information about the Gdb-patches mailing list