From f32dbf8c793020592e09d6aafd5c2ed70ea4f2b1 Mon Sep 17 00:00:00 2001 From: Markus Metzger Date: Mon, 13 Jan 2014 14:24:50 +0100 Subject: Add target_ops argument to to_prepare_to_store 2013-12-17 Tom Tromey * windows-nat.c (windows_prepare_to_store): Add 'self' argument. * target.h (struct target_ops) : 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. --- gdb/remote-m32r-sdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/remote-m32r-sdi.c') diff --git a/gdb/remote-m32r-sdi.c b/gdb/remote-m32r-sdi.c index 7b122d7..9364b5f 100644 --- a/gdb/remote-m32r-sdi.c +++ b/gdb/remote-m32r-sdi.c @@ -1012,7 +1012,7 @@ m32r_store_register (struct target_ops *ops, debugged. */ static void -m32r_prepare_to_store (struct regcache *regcache) +m32r_prepare_to_store (struct target_ops *self, struct regcache *regcache) { /* Do nothing, since we can store individual regs. */ if (remote_debug) -- cgit v1.1