From 22ba8cf20bdded9665a5d233d1c1428e7b846e92 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 15 Jun 2002 18:09:31 +0000 Subject: [PATCH] * config/i386/tm-cygwin.h, config/i386/tm-fbsd.h, config/i386/tm-go32.h, config/i386/tm-i386gnu.h, config/i386/tm-i386sol2.h, config/i386/tm-i386v4.h, config/i386/tm-linux.h, config/i386/tm-nbsd.h, config/i386/tm-obsd.h (HAVE_I387_REGS): Remove define. * config/i386/tm-i386.h: Unconditionally define FLOAT_INFO. --- gdb/ChangeLog | 7 +++++++ gdb/config/i386/tm-cygwin.h | 1 - gdb/config/i386/tm-fbsd.h | 1 - gdb/config/i386/tm-go32.h | 1 - gdb/config/i386/tm-i386.h | 2 -- gdb/config/i386/tm-i386gnu.h | 1 - gdb/config/i386/tm-i386sol2.h | 1 - gdb/config/i386/tm-linux.h | 1 - gdb/config/i386/tm-nbsd.h | 1 - gdb/config/i386/tm-obsd.h | 1 - 10 files changed, 7 insertions(+), 10 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d16e31e70f6..96dd2690c27 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2002-06-15 Mark Kettenis + * config/i386/tm-cygwin.h, config/i386/tm-fbsd.h, + config/i386/tm-go32.h, config/i386/tm-i386gnu.h, + config/i386/tm-i386sol2.h, config/i386/tm-i386v4.h, + config/i386/tm-linux.h, config/i386/tm-nbsd.h, + config/i386/tm-obsd.h (HAVE_I387_REGS): Remove define. + * config/i386/tm-i386.h: Unconditionally define FLOAT_INFO. + * i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the list of DJGPP COFF targets. diff --git a/gdb/config/i386/tm-cygwin.h b/gdb/config/i386/tm-cygwin.h index 1d49133a05b..2710ef70ca3 100644 --- a/gdb/config/i386/tm-cygwin.h +++ b/gdb/config/i386/tm-cygwin.h @@ -25,7 +25,6 @@ #else #undef HAVE_SSE_REGS #endif /* CONTEXT_EXTENDED_REGISTERS */ -#define HAVE_I387_REGS #include "i386/tm-i386.h" diff --git a/gdb/config/i386/tm-fbsd.h b/gdb/config/i386/tm-fbsd.h index f51859d0b46..87d0e08b26c 100644 --- a/gdb/config/i386/tm-fbsd.h +++ b/gdb/config/i386/tm-fbsd.h @@ -21,7 +21,6 @@ #ifndef TM_FBSD_H #define TM_FBSD_H -#define HAVE_I387_REGS #include "i386/tm-i386.h" /* These defines allow the recognition of sigtramps as a function name diff --git a/gdb/config/i386/tm-go32.h b/gdb/config/i386/tm-go32.h index 79370e778a2..85e0888ef80 100644 --- a/gdb/config/i386/tm-go32.h +++ b/gdb/config/i386/tm-go32.h @@ -22,7 +22,6 @@ #define TM_GO32_H #undef HAVE_SSE_REGS /* FIXME! go32-nat.c needs to support XMMi registers */ -#define HAVE_I387_REGS #include "i386/tm-i386.h" diff --git a/gdb/config/i386/tm-i386.h b/gdb/config/i386/tm-i386.h index adbff64a849..982e7c83eeb 100644 --- a/gdb/config/i386/tm-i386.h +++ b/gdb/config/i386/tm-i386.h @@ -87,10 +87,8 @@ extern void i386_register_convert_to_raw (struct type *type, int regnum, char *from, char *to); /* Print out the i387 floating point state. */ -#ifdef HAVE_I387_REGS extern void i387_float_info (void); #define FLOAT_INFO { i387_float_info (); } -#endif #define PUSH_ARGUMENTS(nargs, args, sp, struct_return, struct_addr) \ diff --git a/gdb/config/i386/tm-i386gnu.h b/gdb/config/i386/tm-i386gnu.h index f1835423a72..638cb03f2a0 100644 --- a/gdb/config/i386/tm-i386gnu.h +++ b/gdb/config/i386/tm-i386gnu.h @@ -39,7 +39,6 @@ FIXME: This is probably native-dependent too. */ #define ATTACH_DETACH 1 -#define HAVE_I387_REGS #include "i386/tm-i386.h" /* We use stabs-in-ELF with the DWARF register numbering scheme. */ diff --git a/gdb/config/i386/tm-i386sol2.h b/gdb/config/i386/tm-i386sol2.h index 7473f3bbc91..a63e8a011ff 100644 --- a/gdb/config/i386/tm-i386sol2.h +++ b/gdb/config/i386/tm-i386sol2.h @@ -21,7 +21,6 @@ #ifndef TM_I386SOL2_H #define TM_I386SOL2_H 1 -#define HAVE_I387_REGS #include "i386/tm-i386v4.h" /* If the current gcc for for this target does not produce correct diff --git a/gdb/config/i386/tm-linux.h b/gdb/config/i386/tm-linux.h index 7bfdf03895c..e64ae8a257f 100644 --- a/gdb/config/i386/tm-linux.h +++ b/gdb/config/i386/tm-linux.h @@ -24,7 +24,6 @@ #define TM_LINUX_H #define I386_GNULINUX_TARGET -#define HAVE_I387_REGS #ifdef HAVE_PTRACE_GETFPXREGS #define FILL_FPXREGSET #define HAVE_SSE_REGS diff --git a/gdb/config/i386/tm-nbsd.h b/gdb/config/i386/tm-nbsd.h index 55ef6fa56fc..ac61d93a8cf 100644 --- a/gdb/config/i386/tm-nbsd.h +++ b/gdb/config/i386/tm-nbsd.h @@ -21,7 +21,6 @@ #ifndef TM_NBSD_H #define TM_NBSD_H -#define HAVE_I387_REGS #define HAVE_SSE_REGS #include "i386/tm-i386.h" diff --git a/gdb/config/i386/tm-obsd.h b/gdb/config/i386/tm-obsd.h index d26b03bf41d..f3b111adcaa 100644 --- a/gdb/config/i386/tm-obsd.h +++ b/gdb/config/i386/tm-obsd.h @@ -21,7 +21,6 @@ #ifndef TM_OBSD_H #define TM_OBSD_H -#define HAVE_I387_REGS #include "i386/tm-i386.h" /* OpenBSD uses the old gcc convention for struct returns. */ -- 2.30.2