aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-03-17 22:24:00 +0000
committerMark Kettenis <kettenis@gnu.org>2001-03-17 22:24:00 +0000
commite3c6d36d494458934a7af9bce680c0c7edc14c7c (patch)
tree86034bb3bef40bd13dc6e6fddaa023b78bec00f1 /gdb
parenta1ab1d2aa3baf504c67892d1e46724f4a2c54ce5 (diff)
downloadgdb-e3c6d36d494458934a7af9bce680c0c7edc14c7c.zip
gdb-e3c6d36d494458934a7af9bce680c0c7edc14c7c.tar.gz
gdb-e3c6d36d494458934a7af9bce680c0c7edc14c7c.tar.bz2
* config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
no longer used. Also remove associated FIXME.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/config/i386/tm-linux.h30
2 files changed, 6 insertions, 29 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 269dea1..b39a63e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-17 Mark Kettenis <kettenis@gnu.org>
+
+ * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
+ no longer used. Also remove associated FIXME.
+
2001-03-16 Andrew Cagney <ac131313@redhat.com>
* 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 269734f..f72b3c9 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