aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-tdep.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-03-17 18:27:07 +0000
committerAndrew Cagney <cagney@redhat.com>2003-03-17 18:27:07 +0000
commit0a61325988c3bd0138ce4db2094f674bf500a4b4 (patch)
tree37c0c3ac01659854ed7512b7780d2a987ff80f3d /gdb/ppc-tdep.h
parentf77ed96c7bc56ceff1efa81a78fc9a02006e844f (diff)
downloadfsf-binutils-gdb-0a61325988c3bd0138ce4db2094f674bf500a4b4.zip
fsf-binutils-gdb-0a61325988c3bd0138ce4db2094f674bf500a4b4.tar.gz
fsf-binutils-gdb-0a61325988c3bd0138ce4db2094f674bf500a4b4.tar.bz2
2003-03-17 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (ppc_floating_point_unit_p): New function. * ppc-tdep.h (ppc_floating_point_unit_p): Declare. From Elena Zannoni <ezannoni@redhat.com> * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 vector and floating-point parameters. (ppc_sysv_abi_use_struct_convention): Handle e500 struct return convention. (ppc_sysv_abi_broken_use_struct_convention): Ditto.
Diffstat (limited to 'gdb/ppc-tdep.h')
-rw-r--r--gdb/ppc-tdep.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h
index cf81eb9..f3c022c 100644
--- a/gdb/ppc-tdep.h
+++ b/gdb/ppc-tdep.h
@@ -49,6 +49,11 @@ void rs6000_frame_init_saved_regs (struct frame_info *);
CORE_ADDR rs6000_frame_chain (struct frame_info *);
int altivec_register_p (int regno);
+
+/* Return non-zero when the architecture has an FPU (or at least when
+ the ABI is using the FPU). */
+int ppc_floating_point_unit_p (struct gdbarch *gdbarch);
+
/* Private data that this module attaches to struct gdbarch. */
struct gdbarch_tdep