70943b5f0b
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.