From: Corinna Vinschen <vinschen@redhat.com>
To: gdb-patches@sourceware.org
Subject: New target: x86_64-pc-cygwin
Date: Tue, 05 Mar 2013 12:01:00 -0000 [thread overview]
Message-ID: <20130305120034.GQ2481@calimero.vinschen.de> (raw)
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
next reply other threads:[~2013-03-05 12:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-05 12:01 Corinna Vinschen [this message]
2013-03-05 13:24 ` Pedro Alves
2013-03-05 13:29 ` Pedro Alves
2013-03-05 13:40 ` Corinna Vinschen
2013-03-05 15:02 ` Pedro Alves
2013-03-05 15:19 ` Corinna Vinschen
2013-03-05 15:21 ` Pedro Alves
2013-03-05 13:30 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130305120034.GQ2481@calimero.vinschen.de \
--to=vinschen@redhat.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox