From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Jiri Smid Cc: gdb-patches@sources.redhat.com Subject: configure.tgt; Was: [RFA]: x86_64 target files Date: Thu, 09 Aug 2001 23:41:00 -0000 Message-id: <3B7381D9.6030603@cygnus.com> References: X-SW-Source: 2001-08/msg00098.html > * 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= 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_* .mt which contains GDBSERVER_* > * config/i386/tm-x86_64.h: New file. Per the above, this file can probably be eliminated. Andrew