forked from Imagelibrary/binutils-gdb
Add target_ops argument to to_load
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_load>: 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.
This commit is contained in:
@@ -196,7 +196,7 @@ m32r_load (char *filename, int from_tty)
|
||||
}
|
||||
|
||||
static void
|
||||
m32r_load_gen (char *filename, int from_tty)
|
||||
m32r_load_gen (struct target_ops *self, char *filename, int from_tty)
|
||||
{
|
||||
generic_load (filename, from_tty);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user