diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2014-01-13 14:24:50 +0100 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2014-01-16 13:06:10 +0100 |
commit | f32dbf8c793020592e09d6aafd5c2ed70ea4f2b1 (patch) | |
tree | 8155579c13cbe027d6efaa4b26bd855aa2eeb1e9 /gdb/target.h | |
parent | 07bbe694e779f4953911a50751abdc00117be7d3 (diff) | |
download | gdb-f32dbf8c793020592e09d6aafd5c2ed70ea4f2b1.zip gdb-f32dbf8c793020592e09d6aafd5c2ed70ea4f2b1.tar.gz gdb-f32dbf8c793020592e09d6aafd5c2ed70ea4f2b1.tar.bz2 |
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.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target.h b/gdb/target.h index d0356e1..18ae6e3 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -379,7 +379,7 @@ struct target_ops ptid_t, struct target_waitstatus *, int); void (*to_fetch_registers) (struct target_ops *, struct regcache *, int); void (*to_store_registers) (struct target_ops *, struct regcache *, int); - void (*to_prepare_to_store) (struct regcache *); + void (*to_prepare_to_store) (struct target_ops *, struct regcache *); /* Transfer LEN bytes of memory between GDB address MYADDR and target address MEMADDR. If WRITE, transfer them to the target, else @@ -1011,7 +1011,7 @@ extern void target_store_registers (struct regcache *regcache, int regs); debugged. */ #define target_prepare_to_store(regcache) \ - (*current_target.to_prepare_to_store) (regcache) + (*current_target.to_prepare_to_store) (¤t_target, regcache) /* Determine current address space of thread PTID. */ |