summaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2008-11-11 22:07:40 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2008-11-11 22:07:40 +0000
commitbf0c6dc1673d8bbdc899edb7086f1d99949b97aa (patch)
treed89d142421091848ca61d71a9bc68d76f56c5f44 /gdb/remote-sim.c
parentee3b086123639ba7c4e345f9d36be66cf1f5edfd (diff)
downloadgdb-bf0c6dc1673d8bbdc899edb7086f1d99949b97aa.tar.gz
* remote-sim.c (gdbsim_create_inferior, gdbsim_mourn_inferior): Add
missing struct target_ops argument.
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 62f9cb13450..6f92ad83f07 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -94,7 +94,7 @@ static void gdbsim_prepare_to_store (struct regcache *regcache);
static void gdbsim_files_info (struct target_ops *target);
-static void gdbsim_mourn_inferior (void);
+static void gdbsim_mourn_inferior (struct target_ops *target);
static void gdbsim_stop (ptid_t ptid);
@@ -445,7 +445,8 @@ gdbsim_load (char *args, int fromtty)
user types "run" after having attached. */
static void
-gdbsim_create_inferior (char *exec_file, char *args, char **env, int from_tty)
+gdbsim_create_inferior (struct target_ops *target, char *exec_file, char *args,
+ char **env, int from_tty)
{
int len;
char *arg_buf, **argv;
@@ -822,7 +823,7 @@ gdbsim_files_info (struct target_ops *target)
/* Clear the simulator's notion of what the break points are. */
static void
-gdbsim_mourn_inferior (void)
+gdbsim_mourn_inferior (struct target_ops *target)
{
if (remote_debug)
printf_filtered ("gdbsim_mourn_inferior:\n");