store_unsigned_integer (regbuf, DEPRECATED_REGISTER_RAW_SIZE (regno), val);
store_unsigned_integer (regbuf, register_size (current_gdbarch, regno), val);
monitor_supply_register (int regno, char *valstr){  ULONGEST val;  unsigned char regbuf[MAX_REGISTER_SIZE];  char *p;  val = 0;  p = valstr;  while (p && *p != '\0')    {      if (*p == '\r' || *p == '\n')        {          while (*p != '\0')               p++;          break;        }      if (isspace (*p))        {          p++;          continue;        }      if (!isxdigit (*p) && *p != 'x')        {          break;        }      val <<= 4;      val += fromhex (*p++);    }  monitor_debug ("Supplying Register %d %s\n", regno, valstr);  if (val == 0 && valstr == p)    error ("monitor_supply_register (%d):  bad value from monitor: %s.",	   regno, valstr);  /* supply register stores in target byte order, so swap here */  store_unsigned_integer (regbuf, DEPRECATED_REGISTER_RAW_SIZE (regno), val);  supply_register (regno, regbuf);  return p;}