diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:31:27 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:45:42 -0700 |
commit | 71a9f134da16fda6094f7cbab121ea62dbfb78d9 (patch) | |
tree | 977629a780b07813fb4b6689024c90f0f3e32c0d /gdb/remote-mips.c | |
parent | 0a4f40a208644744287b3e3a080416aede202633 (diff) | |
download | gdb-71a9f134da16fda6094f7cbab121ea62dbfb78d9.zip gdb-71a9f134da16fda6094f7cbab121ea62dbfb78d9.tar.gz gdb-71a9f134da16fda6094f7cbab121ea62dbfb78d9.tar.bz2 |
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.
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r-- | gdb/remote-mips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index e8ef449..4338ffa 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -128,7 +128,7 @@ static void pmon_download (char *buffer, int length); static void pmon_load_fast (char *file); -static void mips_load (char *file, int from_tty); +static void mips_load (struct target_ops *self, char *file, int from_tty); static int mips_make_srec (char *buffer, int type, CORE_ADDR memaddr, unsigned char *myaddr, int len); @@ -3530,7 +3530,7 @@ pmon_load_fast (char *file) /* mips_load -- download a file. */ static void -mips_load (char *file, int from_tty) +mips_load (struct target_ops *self, char *file, int from_tty) { struct regcache *regcache; |