From: Daniel Jacobowitz <drow@false.org>
To: Tom Tromey <tromey@redhat.com>
Cc: Pedro Alves <pedro@codesourcery.com>, gdb-patches@sourceware.org
Subject: Re: [autodeps] gnu-nat, autogenerated files
Date: Tue, 09 Sep 2008 16:18:00 -0000 [thread overview]
Message-ID: <20080909161754.GA29292@caradoc.them.org> (raw)
In-Reply-To: <m3tzcpfgse.fsf@fleche.redhat.com>
On Tue, Sep 09, 2008 at 10:03:13AM -0600, Tom Tromey wrote:
> >>>>> "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.
No, search for NAT_FILE in configure.ac. This file is included as
nm.h in native GDBs; it's where native target configuration used to
live, and the remaining ones are still used.
Also:
case "${nativefile}" in
nm-*.h ) GDB_NM_FILE="config/${gdb_host_cpu}/${nativefile}" ;;
* ) GDB_NM_FILE="${nativefile}"
esac
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2008-09-09 16:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-09 15:07 Pedro Alves
2008-09-09 16:09 ` Tom Tromey
2008-09-09 16:18 ` Daniel Jacobowitz [this message]
2008-09-09 16:28 ` Tom Tromey
2008-09-10 18:01 ` Joel Brobecker
2008-09-10 18:13 ` Daniel Jacobowitz
2008-09-10 18:49 ` Pedro Alves
2008-09-12 5:06 ` Joel Brobecker
2008-09-12 9:10 ` Eli Zaretskii
2008-09-12 10:44 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080909161754.GA29292@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.com \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox