From 3c8b2edaedc883b4a4cd12bf14348b29c0c23a79 Mon Sep 17 00:00:00 2001 From: Thiago Jung Bauermann Date: Tue, 11 Nov 2008 22:07:40 +0000 Subject: [PATCH] * remote-sim.c (gdbsim_create_inferior, gdbsim_mourn_inferior): Add missing struct target_ops argument. --- gdb/ChangeLog | 5 +++++ gdb/remote-sim.c | 7 ++++--- 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 + + * remote-sim.c (gdbsim_create_inferior, gdbsim_mourn_inferior): Add + missing struct target_ops argument. + 2008-11-11 Joel Sherrill * 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"); -- 2.7.4