This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Eliminate FLOAT_INFO
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 01 Feb 2003 12:29:18 -0500
- Subject: [commit] Eliminate FLOAT_INFO
Turns out all remaining references were either #undef's or commented out
definitions.
committed,
Andrew
2003-02-01 Andrew Cagney <ac131313@redhat.com>
* infcmd.c (print_float_info): Delete code conditional on
FLOAT_INFO.
* config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
* config/m68k/nm-apollo68b.h: Ditto.
* config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
* config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
* config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
Index: doc/ChangeLog
2003-02-01 Andrew Cagney <ac131313@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
FLOAT_INFO.
Index: infcmd.c
===================================================================
RCS file: /cvs/src/src/gdb/infcmd.c,v
retrieving revision 1.71
diff -u -r1.71 infcmd.c
--- infcmd.c 18 Jan 2003 15:55:52 -0000 1.71
+++ infcmd.c 1 Feb 2003 17:17:08 -0000
@@ -2008,12 +2008,6 @@
gdbarch_print_float_info (gdbarch, file, frame, args);
else
{
-#ifdef FLOAT_INFO
-#if GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL
-#error "FLOAT_INFO defined in multi-arch"
-#endif
- FLOAT_INFO;
-#else
int regnum;
int printed_something = 0;
@@ -2028,7 +2022,6 @@
if (!printed_something)
fprintf_filtered (file, "\
No floating-point info available for this processor.\n");
-#endif
}
}
Index: config/nm-lynx.h
===================================================================
RCS file: /cvs/src/src/gdb/config/nm-lynx.h,v
retrieving revision 1.5
diff -u -r1.5 nm-lynx.h
--- config/nm-lynx.h 4 May 2001 04:15:29 -0000 1.5
+++ config/nm-lynx.h 1 Feb 2003 17:17:08 -0000
@@ -1,6 +1,7 @@
/* Native-dependent definitions for LynxOS.
- Copyright 1993, 1994, 1995, 1996, 1999, 2000
- Free Software Foundation, Inc.
+
+ Copyright 1993, 1994, 1995, 1996, 1999, 2000, 2003 Free Software
+ Foundation, Inc.
This file is part of GDB.
@@ -41,8 +42,6 @@
the core file of the register values. */
#define KERNEL_U_ADDR USRSTACK
-
-#undef FLOAT_INFO /* No float info yet */
/* As of LynxOS 2.2.2 (beta 8/15/94), this is int. Previous versions seem to
have had no prototype, so I'm not sure why GDB used to define this to
Index: config/i386/tm-ptx.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/tm-ptx.h,v
retrieving revision 1.8
diff -u -r1.8 tm-ptx.h
--- config/i386/tm-ptx.h 11 Oct 2002 14:02:39 -0000 1.8
+++ config/i386/tm-ptx.h 1 Feb 2003 17:17:08 -0000
@@ -1,7 +1,9 @@
/* Target machine definitions for GDB on a Sequent Symmetry under ptx
with Weitek 1167 and i387 support.
- Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 2000
- Free Software Foundation, Inc.
+
+ Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 2000,
+ 2003 Free Software Foundation, Inc.
+
Symmetry version by Jay Vosburgh (fubar@sequent.com).
This file is part of GDB.
@@ -40,15 +42,6 @@
#undef DECR_PC_AFTER_BREAK
#define DECR_PC_AFTER_BREAK 0
-
-#if 0
--- -this code can 't be used unless we know we are running native,
-since it uses host specific ptrace calls.
-/* code for 80387 fpu. Functions are from i386-dep.c, copied into
- * symm-dep.c.
- */
-#define FLOAT_INFO { i386_float_info(); }
-#endif
/* Number of machine registers */
Index: config/i386/tm-symmetry.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/tm-symmetry.h,v
retrieving revision 1.10
diff -u -r1.10 tm-symmetry.h
--- config/i386/tm-symmetry.h 18 Aug 2002 22:14:24 -0000 1.10
+++ config/i386/tm-symmetry.h 1 Feb 2003 17:17:09 -0000
@@ -1,7 +1,9 @@
/* Target machine definitions for GDB on a Sequent Symmetry under dynix 3.0,
with Weitek 1167 and i387 support.
- Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995
- Free Software Foundation, Inc.
+
+ Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 2003 Free
+ Software Foundation, Inc.
+
Symmetry version by Jay Vosburgh (fubar@sequent.com).
This file is part of GDB.
@@ -38,15 +40,6 @@
#undef DECR_PC_AFTER_BREAK
#define DECR_PC_AFTER_BREAK 0
-
-#if 0
-/* --- this code can't be used unless we know we are running native,
- since it uses host specific ptrace calls. */
-/* code for 80387 fpu. Functions are from i386-dep.c, copied into
- * symm-dep.c.
- */
-#define FLOAT_INFO { i386_float_info(); }
-#endif
/* Number of machine registers */
Index: config/m68k/nm-apollo68b.h
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/nm-apollo68b.h,v
retrieving revision 1.2
diff -u -r1.2 nm-apollo68b.h
--- config/m68k/nm-apollo68b.h 6 Mar 2001 08:21:30 -0000 1.2
+++ config/m68k/nm-apollo68b.h 1 Feb 2003 17:17:09 -0000
@@ -30,8 +30,6 @@
#define KERNEL_U_ADDR 0
-#undef FLOAT_INFO /* No float info yet */
-
#define REGISTER_U_ADDR(addr, blockend, regno) \
(addr) = (6 + 4 * (regno))
Index: config/ns32k/nm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/ns32k/nm-nbsd.h,v
retrieving revision 1.4
diff -u -r1.4 nm-nbsd.h
--- config/ns32k/nm-nbsd.h 22 May 2002 03:59:54 -0000 1.4
+++ config/ns32k/nm-nbsd.h 1 Feb 2003 17:17:10 -0000
@@ -25,10 +25,6 @@
/* Get generic NetBSD native definitions. */
#include "config/nm-nbsd.h"
-#if 0
-#define FLOAT_INFO { extern ns32k_float_info(); ns32k_float_info(); }
-#endif
-
#define REGISTER_U_ADDR(addr, blockend, regno) \
(addr) = ns32k_register_u_addr ((blockend),(regno));
Index: doc/gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.120
diff -u -r1.120 gdbint.texinfo
--- doc/gdbint.texinfo 29 Jan 2003 16:10:53 -0000 1.120
+++ doc/gdbint.texinfo 1 Feb 2003 17:17:43 -0000
@@ -3232,10 +3232,6 @@
@findex EXTRACT_STRUCT_VALUE_ADDRESS_P
Predicate for @code{EXTRACT_STRUCT_VALUE_ADDRESS}.
-@item FLOAT_INFO
-@findex FLOAT_INFO
-Deprecated in favor of @code{PRINT_FLOAT_INFO}.
-
@item FP_REGNUM
@findex FP_REGNUM
If the virtual frame pointer is kept in a register, then define this