From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14518 invoked by alias); 13 Sep 2003 02:28:02 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14510 invoked from network); 13 Sep 2003 02:28:01 -0000 Received: from unknown (HELO redhat.com) (24.131.133.249) by sources.redhat.com with SMTP; 13 Sep 2003 02:28:01 -0000 Received: by redhat.com (Postfix, from userid 201) id 65F1732A822; Fri, 12 Sep 2003 22:27:59 -0400 (EDT) Date: Sat, 13 Sep 2003 02:28:00 -0000 From: Christopher Faylor To: gdb-patches@sources.redhat.com Subject: [PATCH] Properly define SSE registers for cygwin targets Message-ID: <20030913022759.GA2225@redhat.com> Mail-Followup-To: gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2003-09/txt/msg00282.txt.bz2 Checked in, trunk and branch. cgf 2003-09-12 Christopher Faylor * 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 +#include +#include +#include +#include +#include +#include #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 -#include -#include -#include -#include -#include -#include #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