aboutsummaryrefslogtreecommitdiff
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
commit3c8b2edaedc883b4a4cd12bf14348b29c0c23a79 (patch)
tree0b09c9644f3794dce22d89a65dd1bad0b60cdbd2
parentf5d9a292250516bc13bbcb80433d28602813067f (diff)
downloadgdb-3c8b2edaedc883b4a4cd12bf14348b29c0c23a79.zip
gdb-3c8b2edaedc883b4a4cd12bf14348b29c0c23a79.tar.gz
gdb-3c8b2edaedc883b4a4cd12bf14348b29c0c23a79.tar.bz2
* remote-sim.c (gdbsim_create_inferior, gdbsim_mourn_inferior): Add
missing struct target_ops argument.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote-sim.c7
2 files changed, 9 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f6d5ee7..e56e68f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * remote-sim.c (gdbsim_create_inferior, gdbsim_mourn_inferior): Add
+ missing struct target_ops argument.
+
2008-11-11 Joel Sherrill <joel.sherrilL@oarcorp.com>
* MAINTAINERS: Add myself for write after approval privileges.
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 62f9cb1..6f92ad8 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");