Index: go32-nat.c =================================================================== RCS file: /cvs/src/src/gdb/go32-nat.c,v retrieving revision 1.25 diff -u -p -r1.25 go32-nat.c --- go32-nat.c 2001/11/25 11:29:31 1.25 +++ go32-nat.c 2001/12/04 12:31:39 @@ -492,12 +492,8 @@ go32_fetch_registers (int regno) static void store_register (int regno) { - void *rp; - void *v = (void *) register_buffer (regno); - if (regno < FP0_REGNUM) - memcpy ((char *) &a_tss + regno_mapping[regno].tss_ofs, - v, regno_mapping[regno].size); + regcache_collect (regno, (void *) &a_tss + regno_mapping[regno].tss_ofs); else if (regno <= LAST_FPU_CTRL_REGNUM) i387_fill_fsave ((char *)&npx, regno); else