summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/config/i386/cygwin64.mh20
-rw-r--r--gdb/configure.host1
-rw-r--r--gdb/configure.tgt2
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/configure.srv4
6 files changed, 36 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fab6ff9283b..a0bf2ce9d35 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
index 00000000000..f5102c49a66
--- /dev/null
+++ b/gdb/config/i386/cygwin64.mh
@@ -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
diff --git a/gdb/configure.host b/gdb/configure.host
index 395ee531188..85f4491b8f2 100644
--- a/gdb/configure.host
+++ b/gdb/configure.host
@@ -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 ;;
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 77dc37c4873..720d3d3ca17 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -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 \
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 3f4629acaba..ca1052c44a2 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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.
diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv
index b9a99d0f1fe..0bda563be6b 100644
--- a/gdb/gdbserver/configure.srv
+++ b/gdb/gdbserver/configure.srv
@@ -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"