From b5b0b0afd0365cd5cffaae402ba7582d0442902e Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 5 Mar 2013 13:37:11 +0000 Subject: * 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. --- gdb/ChangeLog | 6 ++++++ gdb/config/i386/cygwin64.mh | 20 ++++++++++++++++++++ gdb/configure.host | 1 + gdb/configure.tgt | 2 +- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/configure.srv | 4 ++++ 6 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 gdb/config/i386/cygwin64.mh (limited to 'gdb') 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 + + * 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 * 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 . */ + +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 + + * gdbserver/configure.srv: Add x86_64-*-cygwin* as target. + 2013-02-28 Tom Tromey * 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" -- cgit v1.1