From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19277 invoked by alias); 5 Mar 2013 12:01:19 -0000 Received: (qmail 19099 invoked by uid 22791); 5 Mar 2013 12:00:46 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Tue, 05 Mar 2013 12:00:36 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 183505203B8; Tue, 5 Mar 2013 13:00:34 +0100 (CET) Date: Tue, 05 Mar 2013 12:01:00 -0000 From: Corinna Vinschen To: gdb-patches@sourceware.org Subject: New target: x86_64-pc-cygwin Message-ID: <20130305120034.GQ2481@calimero.vinschen.de> Reply-To: gdb-patches@sourceware.org Mail-Followup-To: gdb-patches@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2013-03/txt/msg00143.txt.bz2 Hi guys, now that the binutils patches are applied, I'd like to add the new x86_64-pc-cygwin target to GDB. What's still missing are the GCC patches, but they will have to wait for the next GCC stage1. Ok to apply? Thanks, Corinna * configure.host: Add x86_64-*-cygwin* as host. * configure.tgt: Add x86_64-*-cygwin* as target. * config/i386/cygwin64.mh: New file. * gdbserver/configure.srv: Add x86_64-*-cygwin* as target. Index: configure.host =================================================================== RCS file: /cvs/src/src/gdb/configure.host,v retrieving revision 1.109 diff -u -p -r1.109 configure.host --- configure.host 8 Feb 2013 09:00:34 -0000 1.109 +++ configure.host 5 Mar 2013 11:58:56 -0000 @@ -182,6 +182,7 @@ x86_64-*-openbsd*) gdb_host=obsd64 ;; x86_64-*-mingw*) gdb_host=mingw64 gdb_host_obs=mingw-hdep.o ;; +x86_64-*-cygwin*) gdb_host=cygwin64 ;; m32r*-*-linux*) gdb_host=linux ;; xtensa*-*-linux*) gdb_host=linux ;; Index: configure.tgt =================================================================== RCS file: /cvs/src/src/gdb/configure.tgt,v retrieving revision 1.270 diff -u -p -r1.270 configure.tgt --- configure.tgt 27 Feb 2013 14:49:15 -0000 1.270 +++ configure.tgt 5 Mar 2013 11:58:56 -0000 @@ -652,7 +652,7 @@ x86_64-*-freebsd* | x86_64-*-kfreebsd*-g i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \ bsd-uthread.o solib-svr4.o" ;; -x86_64-*-mingw*) +x86_64-*-mingw* | x86_64-*-cygwin*) # Target: MingW/amd64 gdb_target_obs="amd64-tdep.o amd64-windows-tdep.o \ i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \ Index: config/i386/cygwin64.mh =================================================================== RCS file: config/i386/cygwin64.mh diff -N config/i386/cygwin64.mh --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ config/i386/cygwin64.mh 5 Mar 2013 11:58:56 -0000 @@ -0,0 +1 @@ +NATDEPFILES= i386-nat.o windows-nat.o amd64-windows-nat.o Index: gdbserver/configure.srv =================================================================== RCS file: /cvs/src/src/gdb/gdbserver/configure.srv,v retrieving revision 1.72 diff -u -p -r1.72 configure.srv --- gdbserver/configure.srv 27 Feb 2013 14:58:18 -0000 1.72 +++ gdbserver/configure.srv 5 Mar 2013 11:58:56 -0000 @@ -326,6 +326,10 @@ case "${target}" in srv_xmlfiles="$srv_i386_xmlfiles $srv_amd64_xmlfiles" srv_mingw=yes ;; + x86_64-*-cygwin*) srv_regobj="$srv_amd64_regobj" + srv_tgtobj="i386-low.o i387-fp.o win32-low.o win32-i386-low.o" + srv_xmlfiles="$srv_i386_xmlfiles" + ;; xtensa*-*-linux*) srv_regobj=reg-xtensa.o srv_tgtobj="linux-low.o linux-osdata.o linux-xtensa-low.o linux-procfs.o" -- Corinna Vinschen Cygwin Maintainer Red Hat