* win32-nat.c: Reorganize so that defines used by target headers are actually
authorChristopher Faylor <me+cygwin@cgf.cx>
Sat, 13 Sep 2003 02:26:42 +0000 (02:26 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Sat, 13 Sep 2003 02:26:42 +0000 (02:26 +0000)
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.

gdb/ChangeLog
gdb/config/i386/tm-cygwin.h
gdb/win32-nat.c
gdb/windows-nat.c

index 48e36c9..9734720 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2003-09-12  Jim Blandy  <jimb@redhat.com>
 
        * dbxread.c (read_dbx_symtab): Don't report an internal error if
index f30c432..935966d 100644 (file)
@@ -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
index 897a541..807e985 100644 (file)
 
 /* 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 */
 #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 897a541..807e985 100644 (file)
 
 /* 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 */
 #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"