mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
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:
@@ -72,7 +72,7 @@ static void gdb_os_error (host_callback *, const char *, ...)
|
||||
|
||||
static void gdbsim_kill (struct target_ops *);
|
||||
|
||||
static void gdbsim_load (char *prog, int fromtty);
|
||||
static void gdbsim_load (struct target_ops *self, char *prog, int fromtty);
|
||||
|
||||
static void gdbsim_open (char *args, int from_tty);
|
||||
|
||||
@@ -561,7 +561,7 @@ gdbsim_kill (struct target_ops *ops)
|
||||
GDB's symbol tables to match. */
|
||||
|
||||
static void
|
||||
gdbsim_load (char *args, int fromtty)
|
||||
gdbsim_load (struct target_ops *self, char *args, int fromtty)
|
||||
{
|
||||
char **argv;
|
||||
char *prog;
|
||||
|
||||
Reference in New Issue
Block a user