diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-08-15 23:41:20 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-08-15 23:41:20 +0000 |
commit | 23e3a7ac79ad6f6648bd99602ba715874ce9ac9a (patch) | |
tree | aeb8f594b82b8208465506f08189bc44ca618e88 /gdb/gdbarch.h | |
parent | 8de397a5ad45db45f00ce9b58c2b8b2d7b5aa765 (diff) | |
download | binutils-gdb-23e3a7ac79ad6f6648bd99602ba715874ce9ac9a.tar.gz |
2002-08-15 Andrew Cagney <ac131313@redhat.com>
* gdbarch.sh (PRINT_FLOAT_INFO): Change to a predicate method.
Add `args' parameter.
* gdbarch.h, gdbarch.c: Regenerate.
* arm-tdep.c (arm_print_float_info): Add the parameter `args'.
* infcmd.c (float_info): Call print_float_info.
(print_float_info): New function. By default, print the
floating-point registers.
* arch-utils.h (default_print_float_info): Delete declaration.
* arch-utils.c (default_print_float_info): Delete function.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 973f250b626..7857b09005c 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -795,8 +795,10 @@ extern void set_gdbarch_do_registers_info (struct gdbarch *gdbarch, gdbarch_do_r #endif #endif -typedef void (gdbarch_print_float_info_ftype) (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame); -extern void gdbarch_print_float_info (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame); +extern int gdbarch_print_float_info_p (struct gdbarch *gdbarch); + +typedef void (gdbarch_print_float_info_ftype) (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame, const char *args); +extern void gdbarch_print_float_info (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame, const char *args); extern void set_gdbarch_print_float_info (struct gdbarch *gdbarch, gdbarch_print_float_info_ftype *print_float_info); /* MAP a GDB RAW register number onto a simulator register number. See |