/* Store a new register value into the current thread context. We don't change the program's context until later, when we resume it. */ static void child_store_inferior_registers (struct regcache *regcache, int r) { int regno; win32_thread_info *th = thread_rec (current_inferior_ptid (), TRUE); if (r == -1 || r == 0 || r > NUM_REGS) child_store_inferior_registers (regcache, NUM_REGS); else for (regno = 0; regno < r; regno++) (*the_low_target.store_inferior_register) (regcache, th, regno); }
static void child_store_inferior_registers (int r) { if (r < 0) { for (r = 0; r < NUM_REGS; r++) child_store_inferior_registers (r); } else { read_register_gen (r, 0); } }
/* Store registers to the inferior process. If REGNO is -1, store all registers; otherwise, store at least REGNO. */ static void win32_store_inferior_registers (struct regcache *regcache, int regno) { child_store_inferior_registers (regcache, regno); }
/* Store registers to the inferior process. If REGNO is -1, store all registers; otherwise, store at least REGNO. */ static void win32_store_inferior_registers (int regno) { child_store_inferior_registers (regno); }