From: Pedro Alves Date: Mon, 23 Feb 2009 18:31:23 +0000 (+0000) Subject: * remote-sim.c (gdbsim_resume): Add target_ops* argument. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2fb89e62ac5f7fdeb524d9180140bd68e9773db7;p=binutils-gdb.git * remote-sim.c (gdbsim_resume): Add target_ops* argument. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bcb4a50d5ee..1e5b8857353 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-02-23 Pedro Alves + + * remote-sim.c (gdbsim_resume): Add target_ops* argument. + 2009-02-23 Jay Krell (tiny change) * symtab.c (find_line_symtab): Initialize exact to avoid diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index de2d5111507..bb67b88b8d2 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -82,8 +82,6 @@ static void gdbsim_close (int quitting); static void gdbsim_detach (struct target_ops *ops, char *args, int from_tty); -static void gdbsim_resume (ptid_t ptid, int step, enum target_signal siggnal); - static void gdbsim_prepare_to_store (struct regcache *regcache); static void gdbsim_files_info (struct target_ops *target); @@ -614,7 +612,8 @@ static enum target_signal resume_siggnal; static int resume_step; static void -gdbsim_resume (ptid_t ptid, int step, enum target_signal siggnal) +gdbsim_resume (struct target_ops *ops, + ptid_t ptid, int step, enum target_signal siggnal) { if (!ptid_equal (inferior_ptid, remote_sim_ptid)) error (_("The program is not being run."));