aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/arm
diff options
context:
space:
mode:
authorRichard Earnshaw <richard.earnshaw@arm.com>2002-02-06 13:00:49 +0000
committerRichard Earnshaw <richard.earnshaw@arm.com>2002-02-06 13:00:49 +0000
commit5e74b15c0d46e80dfff4d265dfb82340631fcfb8 (patch)
tree171564bb7e9580ffca8480f190b877e1d07c8c89 /gdb/config/arm
parenta8ec2177956f36babd9f08ca67ac3f2974240baf (diff)
downloadgdb-5e74b15c0d46e80dfff4d265dfb82340631fcfb8.zip
gdb-5e74b15c0d46e80dfff4d265dfb82340631fcfb8.tar.gz
gdb-5e74b15c0d46e80dfff4d265dfb82340631fcfb8.tar.bz2
* gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
* gdbarch.c gdbarch.h: Regenerate. * arch-utils.c (default_print_float_info): New function. * arch-utils.h (default_print_float_info): Prototype it. * infcmd.c (float_info): Call PRINT_FLOAT_INFO. * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. (PRINT_FLOAT_INFO): Document it. * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. * config/arm/tm-arm.h (FLOAT_INFO): Delete. (PRINT_FLOAT_INFO): Define.
Diffstat (limited to 'gdb/config/arm')
-rw-r--r--gdb/config/arm/tm-arm.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/config/arm/tm-arm.h b/gdb/config/arm/tm-arm.h
index 4f0f8d2..0ff2c33 100644
--- a/gdb/config/arm/tm-arm.h
+++ b/gdb/config/arm/tm-arm.h
@@ -120,12 +120,8 @@ extern breakpoint_from_pc_fn arm_breakpoint_from_pc;
#define DECR_PC_AFTER_BREAK 0
-/* Code to execute to print interesting information about the floating
- point processor (if any) or emulator. No need to define if there
- is nothing to do. */
-extern void arm_float_info (void);
-
-#define FLOAT_INFO { arm_float_info (); }
+void arm_print_float_info (void);
+#define PRINT_FLOAT_INFO() arm_print_float_info ()
/* Say how long (ordinary) registers are. This is a piece of bogosity
used in push_word and a few other places; REGISTER_RAW_SIZE is the