aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-03-05 13:37:11 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-03-05 13:37:11 +0000
commitb5b0b0afd0365cd5cffaae402ba7582d0442902e (patch)
tree73820f73e47220415c399c8f7e1a657ec501520f
parenta07ee50e95c6176ea58919254e4001a15dd7622b (diff)
downloadgdb-b5b0b0afd0365cd5cffaae402ba7582d0442902e.zip
gdb-b5b0b0afd0365cd5cffaae402ba7582d0442902e.tar.gz
gdb-b5b0b0afd0365cd5cffaae402ba7582d0442902e.tar.bz2
* 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.
-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 fab6ff9..a0bf2ce 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 0000000..f5102c4
--- /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 395ee53..85f4491 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 77dc37c..720d3d3 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 3f4629a..ca1052c 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 b9a99d0..0bda563 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"