Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Jiri Smid <smid@suse.cz>
Cc: gdb-patches@sources.redhat.com
Subject: configure.tgt; Was: [RFA]: x86_64 target files
Date: Thu, 09 Aug 2001 23:41:00 -0000	[thread overview]
Message-ID: <3B7381D9.6030603@cygnus.com> (raw)
In-Reply-To: <s8vg0baa6hb.fsf@naga.suse.cz>

> 	* configure.tgt: Likewise.


Again, could I suggest mentioning the x86_64->i386 cpu map.

As with the host, the target files need to be broken along OS vs generic 
architecture lines.


>   # OBSOLETE w65-*-*)		gdb_target=w65 ;;
> + 
> + x86_64-*-linux*)	gdb_target=x86_64
> +  		configdirs="${configdirs} gdbserver" ;;


Could this please be changed to:

	x86_64-*-linux*)	gdb_target=<something-linuxish>
		configdirs=... ;;
	x86_64-*-*)	gdb_target=x86_64 ;;

i.e. again, separate out the linux specific stuff from the more generic 
x86_64 stuff.

Further down in that same file is the code to mark this target as 
multi-arch.  I think that should apply to x86_64-*-*.  This would mean 
that tm-x86_64 is redundant.


> 	* config/i386/x86_64.mt: New file.


Per the above, I think there should be two files:

	x86_64.mt
		which would not contain GDBSERVER_*
	<something linuxish>.mt
		which contains GDBSERVER_*


> 	* config/i386/tm-x86_64.h: New file.


Per the above, this file can probably be eliminated.

	Andrew



  parent reply	other threads:[~2001-08-09 23:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-02  7:20 Jiri Smid
2001-08-02  8:39 ` Eli Zaretskii
2001-08-02  9:37   ` Andreas Jaeger
2001-08-02  9:43 ` Kevin Buettner
2001-08-09 22:53   ` Andrew Cagney
2001-08-09 23:12 ` config/i386/xm-x86_64.h; Was " Andrew Cagney
2001-08-09 23:25 ` configure.host; Was: " Andrew Cagney
2001-08-09 23:41 ` Andrew Cagney [this message]
2001-08-09 23:57 ` Misc; " Andrew Cagney
2001-08-30  1:35   ` Jiri Smid
2001-08-30  7:39     ` Andrew Cagney
2001-08-30 11:03       ` Andreas Jaeger
2001-08-30 16:53         ` Andrew Cagney
2001-08-31  0:13           ` Andreas Jaeger
2001-08-31  2:00             ` i386 flavors [Was: Re: Misc; Was: [RFA]: x86_64 target files] Andreas Jaeger
2001-08-31 10:39             ` Misc; Was: [RFA]: x86_64 target files Andrew Cagney
2001-08-31 13:12               ` Andreas Jaeger

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=3B7381D9.6030603@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=smid@suse.cz \
    /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