* config/sparc/tm-sp64.h (REGISTER_RAW_SIZE): Lower 32 fp regs
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 6 Sep 1995 21:35:20 +0000 (21:35 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Wed, 6 Sep 1995 21:35:20 +0000 (21:35 +0000)
commit70943b5f0b6dc45349f13d3f18f51e13e660d136
tree6eabf493120a671b9e87475e6672105d71c0a157
parentbc55a53f1754dd2567fdc864f434dcc413cf6142
* config/sparc/tm-sp64.h (REGISTER_RAW_SIZE): Lower 32 fp regs
have size 4.
(REGISTER_VIRTUAL_SIZE): Likewise.
(REGISTER_VIRTUAL_TYPE): Lower 32 fp regs have type float.
Upper 32 fp regs have type double.
* sparc-tdep.c (NUM_SPARC_FPREGS): Replace with
(FP_REGISTER_BYTES): this, and update all uses.
(FP_MAX_REGNUM): Define if not already.
(get_saved_register): Handle new sparc64 fp regs.
(sparc_frame_find_saved_regs): Likewise.
(sparc_print_register_hook): Only print fp regs < 32 as doubles.
Add code to handle long doubles when gdb does.
(_initialize_sparc_tdep): Use print_insn_sparc64 if sparc64.
gdb/config/sparc/tm-sp64.h