From 71a9f134da16fda6094f7cbab121ea62dbfb78d9 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:31:27 -0700 Subject: Add target_ops argument to to_load 2014-02-19 Tom Tromey * target.h (struct target_ops) : Add argument. * target.c (target_load): Add argument. (debug_to_load): Add argument. (update_current_target): Update. * remote.c (remote_load): Add 'self' argument. * remote-sim.c (gdbsim_load): Add 'self' argument. * remote-mips.c (mips_load): Add 'self' argument. * remote-m32r-sdi.c (m32r_load): Add 'self' argument. * monitor.c (monitor_load): Add 'self' argument. * m32r-rom.c (m32r_load_gen): 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 37649e4..0af8cfc 100644 --- a/gdb/remote-m32r-sdi.c +++ b/gdb/remote-m32r-sdi.c @@ -1213,7 +1213,7 @@ m32r_remove_breakpoint (struct target_ops *ops, } static void -m32r_load (char *args, int from_tty) +m32r_load (struct target_ops *self, char *args, int from_tty) { struct cleanup *old_chain; asection *section; -- cgit v1.1