bcopy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FP0_REGNUM)], &mips_fpreg_packet[MIPS_R_FP0], DEPRECATED_REGISTER_RAW_SIZE (FP0_REGNUM) * 32);
memcpy (&mips_fpreg_packet[MIPS_R_FP0], &deprecated_registers[DEPRECATED_REGISTER_BYTE (FP0_REGNUM)], register_size (current_gdbarch, FP0_REGNUM) * 32);
vx_write_register (int regno){  char mips_greg_packet[MIPS_GREG_PLEN];  char mips_fpreg_packet[MIPS_FPREG_PLEN];  /* Store general registers.  */  bcopy (&deprecated_registers[0], &mips_greg_packet[MIPS_R_GP0],	 32 * MIPS_GREG_SIZE);  /* Copy SR, LO, HI, and PC.  */  bcopy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (PS_REGNUM)],	 &mips_greg_packet[MIPS_R_SR], MIPS_GREG_SIZE);  bcopy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (mips_regnum (current_gdbarch)->lo)],	 &mips_greg_packet[MIPS_R_LO], MIPS_GREG_SIZE);  bcopy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (mips_regnum (current_gdbarch)->hi)],	 &mips_greg_packet[MIPS_R_HI], MIPS_GREG_SIZE);  bcopy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (mips_regnum (current_gdbarch)->pc)],	 &mips_greg_packet[MIPS_R_PC], MIPS_GREG_SIZE);  net_write_registers (mips_greg_packet, MIPS_GREG_PLEN, PTRACE_SETREGS);  /* Store floating point registers if the target has them.  */  if (target_has_fp)    {      /* Copy the floating point data registers.  */      bcopy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FP0_REGNUM)],	     &mips_fpreg_packet[MIPS_R_FP0],	     DEPRECATED_REGISTER_RAW_SIZE (FP0_REGNUM) * 32);      /* Copy the floating point control/status register (fpcsr).  */      bcopy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (mips_regnum (current_gdbarch)->fp_control_status)],	     &mips_fpreg_packet[MIPS_R_FPCSR],	     DEPRECATED_REGISTER_RAW_SIZE (mips_regnum (current_gdbarch)->fp_control_status));      net_write_registers (mips_fpreg_packet, MIPS_FPREG_PLEN,			   PTRACE_SETFPREGS);    }}