diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-03-17 18:27:07 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-03-17 18:27:07 +0000 |
commit | 4307e74b2d47e7842a68b6aa7772c7817e8f6d4e (patch) | |
tree | 3140eee78173a581acabaa2254804fb926936935 /gdb/ppc-tdep.h | |
parent | b9ce73934d8e41ef51715e445639dce06e378df3 (diff) | |
download | gdb-4307e74b2d47e7842a68b6aa7772c7817e8f6d4e.tar.gz |
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h index cf81eb9c1ea..f3c022c577f 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 |