aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-06-30 18:43:06 +0000
committerMark Kettenis <kettenis@gnu.org>2002-06-30 18:43:06 +0000
commit322d4fe017fe6d9937e10ed45ef10a24769752b0 (patch)
tree6a00f67765d511abf66463fbdb126b1ee22096e4 /gdb/config/i386
parentfdd8263d0affc6a27c7850e93b19642fb0e05489 (diff)
downloadgdb-322d4fe017fe6d9937e10ed45ef10a24769752b0.zip
gdb-322d4fe017fe6d9937e10ed45ef10a24769752b0.tar.gz
gdb-322d4fe017fe6d9937e10ed45ef10a24769752b0.tar.bz2
* 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.
Diffstat (limited to 'gdb/config/i386')
-rw-r--r--gdb/config/i386/nm-linux.h5
-rw-r--r--gdb/config/i386/tm-linux.h4
2 files changed, 5 insertions, 4 deletions
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"