aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-02-23 18:31:23 +0000
committerPedro Alves <palves@redhat.com>2009-02-23 18:31:23 +0000
commit2fb89e62ac5f7fdeb524d9180140bd68e9773db7 (patch)
tree83426bc9a188c550057781fb44bb055d55a9b04e /gdb/remote-sim.c
parent4ce8808b2c5fa1b487af90a65e915995c6a76715 (diff)
downloadgdb-2fb89e62ac5f7fdeb524d9180140bd68e9773db7.zip
gdb-2fb89e62ac5f7fdeb524d9180140bd68e9773db7.tar.gz
gdb-2fb89e62ac5f7fdeb524d9180140bd68e9773db7.tar.bz2
* remote-sim.c (gdbsim_resume): Add target_ops* argument.
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index de2d511..bb67b88 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."));