summaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2001-11-27 05:15:58 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2001-11-27 05:15:58 +0000
commit58b072215847bedbf67a908f3b8e7e7fcc3a5d42 (patch)
treebd05ede057a4bc96323117161213396a039833e1 /gdb/config
parent2f8f3b24dc3ec7b71c44f08c37f5302a1d641787 (diff)
downloadgdb-58b072215847bedbf67a908f3b8e7e7fcc3a5d42.tar.gz
* config/i386/tm-cygwin.h: Define HAVE_SSE_REGS if
HAVE_CONTEXT_EXTENDED_REGISTERS is defined. * win32-nat.c: Define CONTEXT_DEBUGGER_DR that will also include extended registers if HAVE_SSE_REGS is defined. (mappings array): Add offset of extended registers. (thread_rec): Use new CONTEXT_DEBUGGER_DR macro.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/tm-cygwin.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/config/i386/tm-cygwin.h b/gdb/config/i386/tm-cygwin.h
index 756a6eaf74e..1d49133a05b 100644
--- a/gdb/config/i386/tm-cygwin.h
+++ b/gdb/config/i386/tm-cygwin.h
@@ -19,8 +19,12 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-
-#undef HAVE_SSE_REGS /* FIXME! win32-nat.c needs to support XMMi registers */
+/* Use SSE registers if winnt.h contains information about them. */
+#ifdef HAVE_CONTEXT_EXTENDED_REGISTERS
+#define HAVE_SSE_REGS
+#else
+#undef HAVE_SSE_REGS
+#endif /* CONTEXT_EXTENDED_REGISTERS */
#define HAVE_I387_REGS
#include "i386/tm-i386.h"