supply_register (regno, (char *) (&buf));
regcache_raw_supply (current_regcache, regno, (char *) (&buf));
e7000_fetch_registers (void){  int regno;  char *wanted = NULL;  puts_e7000debug ("R\r");  if (TARGET_ARCHITECTURE->arch == bfd_arch_sh)    {      wanted = want_sh;      switch (TARGET_ARCHITECTURE->mach)	{	case bfd_mach_sh3:	case bfd_mach_sh3e:	case bfd_mach_sh4:	  wanted = want_sh3;	}    }  if (TARGET_ARCHITECTURE->arch == bfd_arch_h8300)    {      wanted = want_h8300h;      switch (TARGET_ARCHITECTURE->mach)	{	case bfd_mach_h8300s:	case bfd_mach_h8300sn:	case bfd_mach_h8300sx:	case bfd_mach_h8300sxn:	  wanted = want_h8300s;	}    }  fetch_regs_from_dump (gch, wanted);  /* And supply the extra ones the simulator uses */  for (regno = NUM_REALREGS; regno < NUM_REGS; regno++)    {      int buf = 0;      supply_register (regno, (char *) (&buf));    }}