forked from Imagelibrary/binutils-gdb
Add target_ops argument to to_prepare_to_store
2013-12-17 Tom Tromey <tromey@redhat.com> * windows-nat.c (windows_prepare_to_store): Add 'self' argument. * target.h (struct target_ops) <to_prepare_to_store>: Add argument. (target_prepare_to_store): Add argument. * target.c (debug_to_prepare_to_store): Add argument. (update_current_target): Update. * remote.c (remote_prepare_to_store): Add 'self' argument. * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. * remote-mips.c (mips_prepare_to_store): Add 'self' argument. * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. * record-full.c (record_full_core_prepare_to_store): Add 'self' argument. * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. * monitor.c (monitor_prepare_to_store): Add 'self' argument. * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
This commit is contained in:
@@ -90,7 +90,8 @@ static int mips_map_regno (struct gdbarch *, int);
|
||||
|
||||
static void mips_set_register (int regno, ULONGEST value);
|
||||
|
||||
static void mips_prepare_to_store (struct regcache *regcache);
|
||||
static void mips_prepare_to_store (struct target_ops *self,
|
||||
struct regcache *regcache);
|
||||
|
||||
static int mips_fetch_word (CORE_ADDR addr, unsigned int *valp);
|
||||
|
||||
@@ -2064,7 +2065,7 @@ mips_fetch_registers (struct target_ops *ops,
|
||||
registers, so this function doesn't have to do anything. */
|
||||
|
||||
static void
|
||||
mips_prepare_to_store (struct regcache *regcache)
|
||||
mips_prepare_to_store (struct target_ops *self, struct regcache *regcache)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user