This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [autodeps] gnu-nat, autogenerated files
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 09 Sep 2008 10:03:13 -0600
- Subject: Re: [autodeps] gnu-nat, autogenerated files
- References: <200809091606.45512.pedro@codesourcery.com>
- Reply-to: tromey at redhat dot com
>>>>> "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