Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* New target: x86_64-pc-cygwin
@ 2013-03-05 12:01 Corinna Vinschen
  2013-03-05 13:24 ` Pedro Alves
  2013-03-05 13:30 ` Joel Brobecker
  0 siblings, 2 replies; 8+ messages in thread
From: Corinna Vinschen @ 2013-03-05 12:01 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-03-05 15:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-05 12:01 New target: x86_64-pc-cygwin Corinna Vinschen
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox