if (reg_nr >= DR0_REGNUM && reg_nr <= DR_LAST_REGNUM)
if (reg_nr == PSEUDO_BANK_REGNUM) {  int bregnum;  regcache_raw_write (regcache, BANK_REGNUM, buffer); for (bregnum = R0_BANK0_REGNUM; bregnum < MACLB_REGNUM; ++bregnum) set_register_cached (bregnum, 0); } else if (reg_nr >= DR0_REGNUM && reg_nr <= DR_LAST_REGNUM)
sh_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache,			  int reg_nr, const void *buffer){  int base_regnum, portion;  char temp_buffer[MAX_REGISTER_SIZE];  if (reg_nr >= DR0_REGNUM && reg_nr <= DR_LAST_REGNUM)    {      base_regnum = dr_reg_base_num (reg_nr);      /* We must pay attention to the endiannes. */      sh_register_convert_to_raw (gdbarch_register_type (gdbarch, reg_nr),				  reg_nr, buffer, temp_buffer);      /* Write the real regs for which this one is an alias.  */      for (portion = 0; portion < 2; portion++)	regcache_raw_write (regcache, base_regnum + portion,			    (temp_buffer			     + register_size (gdbarch,					      base_regnum) * portion));    }  else if (reg_nr >= FV0_REGNUM && reg_nr <= FV_LAST_REGNUM)    {      base_regnum = fv_reg_base_num (reg_nr);      /* Write the real regs for which this one is an alias.  */      for (portion = 0; portion < 4; portion++)	regcache_raw_write (regcache, base_regnum + portion,			    ((char *) buffer			     + register_size (gdbarch,					      base_regnum) * portion));    }}