Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] Properly define SSE registers for cygwin targets
Date: Sat, 13 Sep 2003 02:28:00 -0000	[thread overview]
Message-ID: <20030913022759.GA2225@redhat.com> (raw)

Checked in, trunk and branch.

cgf

2003-09-12  Christopher Faylor  <cgf@redhat.com>

	* win32-nat.c: Reorganize so that defines used by target headers are
	actually defined by the system headers.
	* config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather
	than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists.

Index: win32-nat.c
===================================================================
RCS file: /cvs/uberbaum/gdb/win32-nat.c,v
retrieving revision 1.77
diff -u -p -r1.77 win32-nat.c
--- win32-nat.c	6 Jul 2003 19:48:54 -0000	1.77
+++ win32-nat.c	13 Sep 2003 02:25:16 -0000
@@ -26,6 +26,13 @@
 
 /* We assume we're being built with and will be used for cygwin.  */
 
+#include <windows.h>
+#include <signal.h>
+#include <sys/types.h>
+#include <fcntl.h>
+#include <stdlib.h>
+#include <imagehlp.h>
+#include <sys/cygwin.h>
 #include "defs.h"
 #include "tm.h"			/* required for SSE registers */
 #include "frame.h"		/* required by inferior.h */
@@ -37,13 +44,6 @@
 #include "regcache.h"
 #include "top.h"
 #include "i386-tdep.h"
-#include <signal.h>
-#include <sys/types.h>
-#include <fcntl.h>
-#include <stdlib.h>
-#include <windows.h>
-#include <imagehlp.h>
-#include <sys/cygwin.h>
 
 #include "buildsym.h"
 #include "symfile.h"
Index: config/i386/tm-cygwin.h
===================================================================
RCS file: /cvs/uberbaum/gdb/config/i386/tm-cygwin.h,v
retrieving revision 1.14
diff -u -p -r1.14 tm-cygwin.h
--- config/i386/tm-cygwin.h	22 Nov 2002 07:34:55 -0000	1.14
+++ config/i386/tm-cygwin.h	13 Sep 2003 02:25:16 -0000
@@ -20,7 +20,7 @@
    Boston, MA 02111-1307, USA.  */
 
 /* Use SSE registers if winnt.h contains information about them.  */
-#ifdef HAVE_CONTEXT_EXTENDED_REGISTERS
+#ifdef CONTEXT_EXTENDED_REGISTERS
 #define HAVE_SSE_REGS
 #else
 #undef HAVE_SSE_REGS


             reply	other threads:[~2003-09-13  2:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-13  2:28 Christopher Faylor [this message]
2003-09-13 11:03 ` Mark Kettenis
2003-09-13 15:52   ` Christopher Faylor
2003-09-13 16:04     ` Christopher Faylor
2003-09-14 15:46     ` Mark Kettenis
2003-09-14 17:35       ` Christopher Faylor
2003-09-13 17:02 ` [PATCH] Make SSE registers unconditionally available on cygwin Christopher Faylor

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=20030913022759.GA2225@redhat.com \
    --to=cgf@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /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