bcopy (&mc68k_fpreg_packet[MC68K_R_FP0], &deprecated_registers[DEPRECATED_REGISTER_BYTE (FP0_REGNUM)], MC68K_FPREG_SIZE * 8); bcopy (&mc68k_fpreg_packet[MC68K_R_FPCR], &deprecated_registers[DEPRECATED_REGISTER_BYTE (FPC_REGNUM)], MC68K_FPREG_PLEN - (MC68K_FPREG_SIZE * 8));
memcpy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FP0_REGNUM)], &mc68k_fpreg_packet[MC68K_R_FP0], MC68K_FPREG_SIZE * 8); memcpy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FPC_REGNUM)], &mc68k_fpreg_packet[MC68K_R_FPCR], MC68K_FPREG_PLEN - (MC68K_FPREG_SIZE * 8));
vx_read_register (int regno){  char mc68k_greg_packet[MC68K_GREG_PLEN];  char mc68k_fpreg_packet[MC68K_FPREG_PLEN];  /* Get general-purpose registers.  */  net_read_registers (mc68k_greg_packet, MC68K_GREG_PLEN, PTRACE_GETREGS);  bcopy (&mc68k_greg_packet[MC68K_R_D0], deprecated_registers,	 16 * MC68K_GREG_SIZE);  bcopy (&mc68k_greg_packet[MC68K_R_SR],	 &deprecated_registers[DEPRECATED_REGISTER_BYTE (PS_REGNUM)],	 MC68K_GREG_SIZE);  bcopy (&mc68k_greg_packet[MC68K_R_PC],	 &deprecated_registers[DEPRECATED_REGISTER_BYTE (PC_REGNUM)],	 MC68K_GREG_SIZE);  /* Get floating-point registers, if the target system has them.     Otherwise, zero them.  */  if (target_has_fp)    {      net_read_registers (mc68k_fpreg_packet, MC68K_FPREG_PLEN,			  PTRACE_GETFPREGS);      bcopy (&mc68k_fpreg_packet[MC68K_R_FP0],	     &deprecated_registers[DEPRECATED_REGISTER_BYTE (FP0_REGNUM)],	     MC68K_FPREG_SIZE * 8);      bcopy (&mc68k_fpreg_packet[MC68K_R_FPCR],	     &deprecated_registers[DEPRECATED_REGISTER_BYTE (FPC_REGNUM)],	     MC68K_FPREG_PLEN - (MC68K_FPREG_SIZE * 8));    }  else    {      memset (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FP0_REGNUM)],	      0, MC68K_FPREG_SIZE * 8);      memset (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FPC_REGNUM)],	      0, MC68K_FPREG_PLEN - (MC68K_FPREG_SIZE * 8));    }  /* Mark the register cache valid.  */  deprecated_registers_fetched ();}