* regcache.c (deprecated_registers_fetched): Update.
* regcache.h (deprecated_registers_fetched): Rename
registers_fetched.
* remote-vxsparc.c (vx_read_register): Update.
* remote-vxmips.c (vx_read_register): Update.
* remote-vx68.c (vx_read_register): Update.
* irix5-nat.c (fetch_core_registers): Update.
* mipsm3-nat.c (fetch_inferior_registers): Update.
* sun3-nat.c (fetch_inferior_registers): Update.
* symm-nat.c (fetch_inferior_registers): Update.
* ns32knbsd-nat.c (fetch_inferior_registers): Update.
(fetch_core_registers): Update.
(fetch_kcore_registers): Update.
* mips-nat.c (fetch_inferior_registers): Update.
* corelow.c (get_core_registers): Update.
* a68v-nat.c (fetch_inferior_registers): Update.
+2002-11-07 Andrew Cagney <ac131313@redhat.com>
+
+ * regcache.c (deprecated_registers_fetched): Update.
+ * regcache.h (deprecated_registers_fetched): Rename
+ registers_fetched.
+ * remote-vxsparc.c (vx_read_register): Update.
+ * remote-vxmips.c (vx_read_register): Update.
+ * remote-vx68.c (vx_read_register): Update.
+ * irix5-nat.c (fetch_core_registers): Update.
+ * mipsm3-nat.c (fetch_inferior_registers): Update.
+ * sun3-nat.c (fetch_inferior_registers): Update.
+ * symm-nat.c (fetch_inferior_registers): Update.
+ * ns32knbsd-nat.c (fetch_inferior_registers): Update.
+ (fetch_core_registers): Update.
+ (fetch_kcore_registers): Update.
+ * mips-nat.c (fetch_inferior_registers): Update.
+ * corelow.c (get_core_registers): Update.
+ * a68v-nat.c (fetch_inferior_registers): Update.
+
2002-11-06 Joel Brobecker <brobecker@gnat.com>
Put in place the framework necessary for multiarching the hppa targets.
ptrace_$init_control (&inferior_control_registers);
inferior_fp_registers.size = sizeof (inferior_fp_registers);
- registers_fetched ();
+ deprecated_registers_fetched ();
ptrace (PTRACE_GETREGS, PIDGET (inferior_ptid),
(PTRACE_ARG3_TYPE) & inferior_registers,
get_core_register_section (".reg2", 2, "floating-point", 0);
get_core_register_section (".reg-xfp", 3, "extended floating-point", 0);
- registers_fetched ();
+ deprecated_registers_fetched ();
}
static void
return;
}
- registers_fetched ();
+ deprecated_registers_fetched ();
}
/* Register that we are able to handle irix5 core file formats.
memcpy (®isters[REGISTER_BYTE (FP0_REGNUM)], &inferior_fp_registers,
sizeof (inferior_fp_registers));
- registers_fetched ();
+ deprecated_registers_fetched ();
}
void
char buf[MAX_REGISTER_RAW_SIZE];
register int i;
- registers_fetched ();
+ deprecated_registers_fetched ();
for (regno = 1; regno < NUM_REGS; regno++)
{
}
/* All registers are valid, if not returned yet */
- registers_fetched ();
+ deprecated_registers_fetched ();
}
/* Store gdb's view of registers to the thread.
RF (LP0_REGNUM + 3, inferior_fpregisters.r_freg[3]);
RF (LP0_REGNUM + 5, inferior_fpregisters.r_freg[5]);
RF (LP0_REGNUM + 7, inferior_fpregisters.r_freg[7]);
- registers_fetched ();
+ deprecated_registers_fetched ();
}
void
RF (LP0_REGNUM + 3, core_reg->freg.r_freg[3]);
RF (LP0_REGNUM + 5, core_reg->freg.r_freg[5]);
RF (LP0_REGNUM + 7, core_reg->freg.r_freg[7]);
- registers_fetched ();
+ deprecated_registers_fetched ();
}
/* Register that we are able to handle ns32knbsd core file formats.
RF (LP0_REGNUM + 3, pcb->pcb_freg[3]);
RF (LP0_REGNUM + 5, pcb->pcb_freg[5]);
RF (LP0_REGNUM + 7, pcb->pcb_freg[7]);
- registers_fetched ();
+ deprecated_registers_fetched ();
}
#endif /* FETCH_KCORE_REGISTERS */
registers_changed_hook ();
}
-/* REGISTERS_FETCHED ()
+/* DEPRECATED_REGISTERS_FETCHED ()
Indicate that all registers have been fetched, so mark them all valid. */
this function/hack is eliminated. */
void
-registers_fetched (void)
+deprecated_registers_fetched (void)
{
int i;
available. */
extern signed char *deprecated_register_valid;
+/* NOTE: cagney/2002-11-05: This function, and its co-conspirator
+ deprecated_registers[], have been superseeded by supply_register(). */
+extern void deprecated_registers_fetched (void);
+
extern int register_cached (int regnum);
extern void set_register_cached (int regnum, int state);
extern void registers_changed (void);
-extern void registers_fetched (void);
extern void read_register_bytes (int regbyte, char *myaddr, int len);
/* Mark the register cache valid. */
- registers_fetched ();
+ deprecated_registers_fetched ();
}
/* Store a register or registers into the VxWorks target.
/* Mark the register cache valid. */
- registers_fetched ();
+ deprecated_registers_fetched ();
}
/* Store a register or registers into the VxWorks target.
/* Mark the register cache valid. */
- registers_fetched ();
+ deprecated_registers_fetched ();
}
/* Store a register or registers into the VxWorks target.
struct regs inferior_registers;
struct fp_status inferior_fp_registers;
- registers_fetched ();
+ deprecated_registers_fetched ();
ptrace (PTRACE_GETREGS, PIDGET (inferior_ptid),
(PTRACE_ARG3_TYPE) & inferior_registers);
int i;
struct pt_regset regs;
- registers_fetched ();
+ deprecated_registers_fetched ();
mptrace (XPT_RREGS, PIDGET (inferior_ptid), (PTRACE_ARG3_TYPE) & regs, 0);
*(int *) ®isters[REGISTER_BYTE (EAX_REGNUM)] = regs.pr_eax;