From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Smid To: gdb-patches@sources.redhat.com Cc: ac131313@cygnus.com Subject: [RFA]: config stuff for x86_64 Date: Wed, 25 Jul 2001 00:07:00 -0000 Message-id: X-SW-Source: 2001-07/msg00610.html Hello, I am working on new target - AMD 64 bit processor and I want to start with committing changes to mainline. Andrew Cagney writes: > If you can then just submit a two line minimal patch (to config say?) I'll have > a reason to get you into the write after approval list. Here is the first patch to config files: Index: gdb/ChangeLog =================================================================== RCS file: /cvs/src/src/gdb/ChangeLog,v retrieving revision 1.1511 diff -c -3 -p -r1.1511 ChangeLog *** ChangeLog 2001/07/24 21:51:36 1.1511 --- ChangeLog 2001/07/25 07:03:48 *************** *** 1,3 **** --- 1,8 ---- + 2001-07-25 Jiri Smid + + * configure.host: Recognize x86_64-*-linux*. + * configure.tgt: Likewise. + 2001-07-24 Stephen P. Smith * MAINTAINERS (Stephen P. Smith): Added to write after approval Index: gdb/configure.host =================================================================== RCS file: /cvs/src/src/gdb/configure.host,v retrieving revision 1.23 diff -c -3 -p -r1.23 configure.host *** configure.host 2001/07/10 20:41:54 1.23 --- configure.host 2001/07/25 07:03:48 *************** mips*) gdb_host_cpu=mips ;; *** 20,25 **** --- 20,26 ---- powerpc*) gdb_host_cpu=powerpc ;; sparc64) gdb_host_cpu=sparc ;; s390*) gdb_host_cpu=s390 ;; + x86_64*) gdb_host_cpu=i386 ;; *) gdb_host_cpu=$host_cpu ;; esac *************** xscale-*-*) gdb_host=arm ;; *** 162,166 **** --- 163,169 ---- vax-*-bsd*) gdb_host=vaxbsd ;; vax-*-ultrix2*) gdb_host=vaxult2 ;; vax-*-ultrix*) gdb_host=vaxult ;; + + x86_64-*-linux*) gdb_host=x86_64 ;; esac Index: gdb/configure.tgt =================================================================== RCS file: /cvs/src/src/gdb/configure.tgt,v retrieving revision 1.34 diff -c -3 -p -r1.34 configure.tgt *** configure.tgt 2001/07/19 05:10:38 1.34 --- configure.tgt 2001/07/25 07:03:48 *************** s390*) gdb_target_cpu=s390 ;; *** 27,32 **** --- 27,33 ---- strongarm*) gdb_target_cpu=arm ;; xscale*) gdb_target_cpu=arm ;; v850*) gdb_target_cpu=v850 ;; + x86_64*) gdb_target_cpu=i386 ;; *) gdb_target_cpu=$target_cpu ;; esac *************** v850*-*-*) gdb_target=v850 *** 312,317 **** --- 313,321 ---- ;; # OBSOLETE w65-*-*) gdb_target=w65 ;; + + x86_64-*-linux*) gdb_target=x86_64 + configdirs="${configdirs} gdbserver" ;; z8k-*-coff*) gdb_target=z8k ;; -- Jiri Smid --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: smid@suse.cz Drahobejlova 27 tel:+420 2 83095 373 190 00 Praha 9 fax:+420 2 83095 374 Ceska republika http://www.suse.cz