summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-02-01 17:28:41 +0000
committerAndrew Cagney <cagney@redhat.com>2003-02-01 17:28:41 +0000
commitc8c29cdf1c66165b459efafc254ee9ce13ddb0bb (patch)
tree98142bd90128447ad49061ea68c33586f681d953
parentb0574b8021a30cd6fd8c150d59f2ee99d82ee09a (diff)
downloadgdb-c8c29cdf1c66165b459efafc254ee9ce13ddb0bb.tar.gz
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.
-rw-r--r--gdb/ChangeLog10
-rw-r--r--gdb/config/i386/tm-ptx.h15
-rw-r--r--gdb/config/i386/tm-symmetry.h15
-rw-r--r--gdb/config/m68k/nm-apollo68b.h2
-rw-r--r--gdb/config/nm-lynx.h7
-rw-r--r--gdb/config/ns32k/nm-nbsd.h4
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdbint.texinfo6
-rw-r--r--gdb/infcmd.c7
9 files changed, 27 insertions, 44 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index eb9f2d2b16a..beb80e51d03 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,13 @@
+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.
+
2003-02-01 Mark Kettenis <kettenis@gnu.org>
* config/i386/tm-i386os9k.h: Removed.
diff --git a/gdb/config/i386/tm-ptx.h b/gdb/config/i386/tm-ptx.h
index 2b7a86c74c3..6a7529887ba 100644
--- a/gdb/config/i386/tm-ptx.h
+++ b/gdb/config/i386/tm-ptx.h
@@ -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.
@@ -41,15 +43,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 */
#undef NUM_REGS
diff --git a/gdb/config/i386/tm-symmetry.h b/gdb/config/i386/tm-symmetry.h
index dc7c81f2fb2..a15f45f1c95 100644
--- a/gdb/config/i386/tm-symmetry.h
+++ b/gdb/config/i386/tm-symmetry.h
@@ -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.
@@ -39,15 +41,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 */
#undef NUM_REGS
diff --git a/gdb/config/m68k/nm-apollo68b.h b/gdb/config/m68k/nm-apollo68b.h
index eca8bfa7ce6..75731a73127 100644
--- a/gdb/config/m68k/nm-apollo68b.h
+++ b/gdb/config/m68k/nm-apollo68b.h
@@ -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))
diff --git a/gdb/config/nm-lynx.h b/gdb/config/nm-lynx.h
index 1cd2bd1ceb1..1fb0eb61a16 100644
--- a/gdb/config/nm-lynx.h
+++ b/gdb/config/nm-lynx.h
@@ -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.
@@ -42,8 +43,6 @@
#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
char *. */
diff --git a/gdb/config/ns32k/nm-nbsd.h b/gdb/config/ns32k/nm-nbsd.h
index 4e1e13b9e3e..eb803f2e793 100644
--- a/gdb/config/ns32k/nm-nbsd.h
+++ b/gdb/config/ns32k/nm-nbsd.h
@@ -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));
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index a4b7ec24f6b..8d66b91b53f 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-01 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbint.texinfo (Target Architecture Definition): Delete
+ FLOAT_INFO.
+
2003-01-30 Andrew Cagney <ac131313@redhat.com>
* stabs.texinfo (Member Type Descriptor): Clarify description of
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index 576933d7dc1..841f3be7e8c 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -41,7 +41,7 @@ Software Foundation raise funds for GNU development.''
@page
@tex
\def\$#1${{#1}} % Kluge: collect RCS revision info without $...$
-\xdef\manvers{\$Revision: 1.120 $} % For use in headers, footers too
+\xdef\manvers{\$Revision: 1.121 $} % For use in headers, footers too
{\parskip=0pt
\hfill Cygnus Solutions\par
\hfill \manvers\par
@@ -3232,10 +3232,6 @@ If not defined, @code{EXTRACT_RETURN_VALUE} is used.
@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
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 8e9db39ed20..7a96900a24e 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -2008,12 +2008,6 @@ print_float_info (struct gdbarch *gdbarch, struct ui_file *file,
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 @@ print_float_info (struct gdbarch *gdbarch, struct ui_file *file,
if (!printed_something)
fprintf_filtered (file, "\
No floating-point info available for this processor.\n");
-#endif
}
}