* configure.host: Add x86_64-*-cygwin* as host.
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 5 Mar 2013 13:37:11 +0000 (13:37 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 5 Mar 2013 13:37:11 +0000 (13:37 +0000)
* configure.tgt: Add x86_64-*-cygwin* as target.
* config/i386/cygwin64.mh: New file.

* gdbserver/configure.srv: Add x86_64-*-cygwin* as target.

gdb/ChangeLog
gdb/config/i386/cygwin64.mh [new file with mode: 0644]
gdb/configure.host
gdb/configure.tgt
gdb/gdbserver/ChangeLog
gdb/gdbserver/configure.srv

index fab6ff9283b626fb683b4eb2b46e9936369e826f..a0bf2ce9d35db1f9e13a03e4bfbd652f7e7983bf 100644 (file)
@@ -1,3 +1,9 @@
+2013-03-05  Corinna Vinschen  <vinschen@redhat.de>
+
+       * configure.host: Add x86_64-*-cygwin* as host.
+       * configure.tgt: Add x86_64-*-cygwin* as target.
+       * config/i386/cygwin64.mh: New file.
+
 2013-03-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * linespec.c (decode_line_2): Fix duplicate request off by two message.
diff --git a/gdb/config/i386/cygwin64.mh b/gdb/config/i386/cygwin64.mh
new file mode 100644 (file)
index 0000000..f5102c4
--- /dev/null
@@ -0,0 +1,20 @@
+#  Native config information for GDB on PowerPC systems running FreeBSD.
+#
+#  Copyright (C) 2013 Free Software Foundation, Inc.
+#
+#  This file is part of GDB.
+#
+#  This program is free software; you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 3 of the License, or
+#  (at your option) any later version.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+NATDEPFILES= i386-nat.o windows-nat.o amd64-windows-nat.o
index 395ee531188a17e0b7adfe3e1b9e636835b2289b..85f4491b8f2bfc0243ab2e029f401c783c44b3fa 100644 (file)
@@ -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 77dc37c4873d4a0959cd08929bca4bd463505bca..720d3d3ca17c80fa7c13987447399b9c2f6feee9 100644 (file)
@@ -652,7 +652,7 @@ x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
                        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 3f4629acabaf8a6d385c28eda34e53d8120e778b..ca1052c44a2bace00479094d29c43dd79e9feb84 100644 (file)
@@ -1,3 +1,7 @@
+2013-03-05  Corinna Vinschen  <vinschen@redhat.de>
+
+       * gdbserver/configure.srv: Add x86_64-*-cygwin* as target.
+
 2013-02-28  Tom Tromey  <tromey@redhat.com>
 
        * configure.ac: Invoke AC_SYS_LARGEFILE.
index b9a99d0f1fe613cab77aa757444dd2a3eaf9ab46..0bda563be6bc2a5b74f3ae5440c1be8bcee59c13 100644 (file)
@@ -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"