From 322d4fe017fe6d9937e10ed45ef10a24769752b0 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 30 Jun 2002 18:43:06 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 5 +++++ gdb/config/i386/nm-linux.h | 5 +++++ gdb/config/i386/tm-linux.h | 4 ---- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 29c2f1e473..bc48ba64d8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2002-06-30 Mark Kettenis + * 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 f751517d73..073c3a3986 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 e64ae8a257..ca46cb5a40 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"