supply_register (regno, core_reg_sect + addr);
regcache_raw_supply (current_regcache, regno, core_reg_sect + addr);
fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, int which,		      CORE_ADDR reg_addr){  int regno;  CORE_ADDR addr;  int bad_reg = -1;  CORE_ADDR reg_ptr = -reg_addr;	/* Original u.u_ar0 is -reg_addr. */  int numregs = NUM_REGS;  /* If u.u_ar0 was an absolute address in the core file, relativize it now,     so we can use it as an offset into core_reg_sect.  When we're done,     "register 0" will be at core_reg_sect+reg_ptr, and we can use     CORE_REGISTER_ADDR to offset to the other registers.  If this is a modern     core file without a upage, reg_ptr will be zero and this is all a big     NOP.  */  if (reg_ptr > core_reg_size)    reg_ptr -= KERNEL_U_ADDR;  for (regno = 0; regno < numregs; regno++)    {      addr = CORE_REGISTER_ADDR (regno, reg_ptr);      if (addr >= core_reg_size	  && bad_reg < 0)	bad_reg = regno;      else	supply_register (regno, core_reg_sect + addr);    }  if (bad_reg >= 0)    error ("Register %s not found in core file.", REGISTER_NAME (bad_reg));}