aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/config/i386/nm-linux.h5
-rw-r--r--gdb/config/i386/tm-linux.h4
3 files changed, 10 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 29c2f1e..bc48ba6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2002-06-30 Mark Kettenis <kettenis@gnu.org>
+ * config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS]
+ (FILL_FPXREGSET, HAVE_SSE_REGS): Remove define.
+ * config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS]
+ (FILL_FPXREGSET): Define.
+
* config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define.
* configure.tgt (i[3456]86-*-openbsd*): Fold into
diff --git a/gdb/config/i386/nm-linux.h b/gdb/config/i386/nm-linux.h
index f751517..073c3a3 100644
--- a/gdb/config/i386/nm-linux.h
+++ b/gdb/config/i386/nm-linux.h
@@ -77,6 +77,11 @@ extern int cannot_store_register (int regno);
#define CANNOT_FETCH_REGISTER(regno) cannot_fetch_register (regno)
#define CANNOT_STORE_REGISTER(regno) cannot_store_register (regno)
+#ifdef HAVE_PTRACE_GETFPXREGS
+/* Include register set support for the SSE registers. */
+#define FILL_FPXREGSET
+#endif
+
/* Override child_resume in `infptrace.c'. */
#define CHILD_RESUME
diff --git a/gdb/config/i386/tm-linux.h b/gdb/config/i386/tm-linux.h
index e64ae8a..ca46cb5 100644
--- a/gdb/config/i386/tm-linux.h
+++ b/gdb/config/i386/tm-linux.h
@@ -24,10 +24,6 @@
#define TM_LINUX_H
#define I386_GNULINUX_TARGET
-#ifdef HAVE_PTRACE_GETFPXREGS
-#define FILL_FPXREGSET
-#define HAVE_SSE_REGS
-#endif
#include "i386/tm-i386.h"
#include "config/tm-linux.h"