diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2003-09-13 02:26:42 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2003-09-13 02:26:42 +0000 |
commit | d3f13f7296715f67de938d30772a719d82aaa3ab (patch) | |
tree | 3c18e011d87a8cc7b45680c4c6add181009896b7 /gdb | |
parent | d646061f47345a5007a671c810b73eecc60960dd (diff) | |
download | gdb-d3f13f7296715f67de938d30772a719d82aaa3ab.zip gdb-d3f13f7296715f67de938d30772a719d82aaa3ab.tar.gz gdb-d3f13f7296715f67de938d30772a719d82aaa3ab.tar.bz2 |
* 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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/config/i386/tm-cygwin.h | 2 | ||||
-rw-r--r-- | gdb/win32-nat.c | 14 | ||||
-rw-r--r-- | gdb/windows-nat.c | 14 |
4 files changed, 22 insertions, 15 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 48e36c9..9734720 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/config/i386/tm-cygwin.h b/gdb/config/i386/tm-cygwin.h index f30c432..935966d 100644 --- a/gdb/config/i386/tm-cygwin.h +++ b/gdb/config/i386/tm-cygwin.h @@ -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 diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index 897a541..807e985 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -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" diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 897a541..807e985 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -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" |