From cb2f9c9c6754607ae654f36e745bc6d774a321d0 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 18 Dec 1998 06:03:39 +0000 Subject: [PATCH] Missed this file: * config/mips/tm-mips.h (enum mips_fpu_type, mips_fpu): Move to mips-tdep.c. --- gdb/config/mips/tm-mips.h | 14 -------------- gdb/mips-tdep.c | 1 + 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index ffa5bd4c52c..6a7091a5282 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -61,20 +61,6 @@ struct value; /* Floating point is IEEE compliant */ #define IEEE_FLOAT -/* Some MIPS boards are provided both with and without a floating - point coprocessor. The MIPS R4650 chip has only single precision - floating point. We provide a user settable variable to tell gdb - what type of floating point to use. */ - -enum mips_fpu_type -{ - MIPS_FPU_DOUBLE, /* Full double precision floating point. */ - MIPS_FPU_SINGLE, /* Single precision floating point (R4650). */ - MIPS_FPU_NONE /* No floating point. */ -}; - -extern enum mips_fpu_type mips_fpu; - /* The name of the usual type of MIPS processor that is in the target system. */ diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 9b84291aec5..23ab53103ca 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -3366,6 +3366,7 @@ mips_gdbarch_init (info, arches) && info.bfd_arch_info->arch == bfd_arch_mips) switch (info.bfd_arch_info->mach) { + case bfd_mach_mips4100: case bfd_mach_mips4111: case bfd_mach_mips4121: tdep->mips_fpu_type = MIPS_FPU_NONE; -- 2.30.2