From e3c6d36d494458934a7af9bce680c0c7edc14c7c Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 17 Mar 2001 22:24:00 +0000 Subject: [PATCH] * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's no longer used. Also remove associated FIXME. --- gdb/ChangeLog | 5 +++++ gdb/config/i386/tm-linux.h | 30 +----------------------------- 2 files changed, 6 insertions(+), 29 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 269dea192ac..b39a63e9d7f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-03-17 Mark Kettenis + + * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's + no longer used. Also remove associated FIXME. + 2001-03-16 Andrew Cagney * gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do diff --git a/gdb/config/i386/tm-linux.h b/gdb/config/i386/tm-linux.h index 269734f901e..f72b3c982bb 100644 --- a/gdb/config/i386/tm-linux.h +++ b/gdb/config/i386/tm-linux.h @@ -1,5 +1,5 @@ /* Definitions to target GDB to GNU/Linux on 386. - Copyright 1992, 1993, 1995, 1996, 1998, 1999, 2000 + Copyright 1992, 1993, 1995, 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GDB. @@ -35,34 +35,6 @@ extern struct link_map_offsets *i386_linux_svr4_fetch_link_map_offsets (void); #define SVR4_FETCH_LINK_MAP_OFFSETS() i386_linux_svr4_fetch_link_map_offsets () -/* FIXME: kettenis/2000-03-26: We should get rid of this last piece of - Linux-specific `long double'-support code, probably by adding code - to valprint.c:print_floating() to recognize various extended - floating-point formats. */ - -#if defined(HAVE_LONG_DOUBLE) && defined(HOST_I386) -/* The host and target are i386 machines and the compiler supports - long doubles. Long doubles on the host therefore have the same - layout as a 387 FPU stack register. */ - -#define TARGET_ANALYZE_FLOATING \ - do \ - { \ - unsigned expon; \ - \ - low = extract_unsigned_integer (valaddr, 4); \ - high = extract_unsigned_integer (valaddr + 4, 4); \ - expon = extract_unsigned_integer (valaddr + 8, 2); \ - \ - nonnegative = ((expon & 0x8000) == 0); \ - is_nan = ((expon & 0x7fff) == 0x7fff) \ - && ((high & 0x80000000) == 0x80000000) \ - && (((high & 0x7fffffff) | low) != 0); \ - } \ - while (0) - -#endif - /* The following works around a problem with /usr/include/sys/procfs.h */ #define sys_quotactl 1 -- 2.30.2