diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-05-04 04:15:33 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-05-04 04:15:33 +0000 |
commit | 39f770628a4eaf018fec8d55684bf2ec16ada9cc (patch) | |
tree | 69027cfb7df2ecc521ab2cc1d25a7dd6cbe56632 /gdb/remote-mm.c | |
parent | b1af961c8433821f61dd1849cff9eb9a8bb974e8 (diff) | |
download | gdb-39f770628a4eaf018fec8d55684bf2ec16ada9cc.zip gdb-39f770628a4eaf018fec8d55684bf2ec16ada9cc.tar.gz gdb-39f770628a4eaf018fec8d55684bf2ec16ada9cc.tar.bz2 |
Phase 1 of the ptid_t changes.
Diffstat (limited to 'gdb/remote-mm.c')
-rw-r--r-- | gdb/remote-mm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/remote-mm.c b/gdb/remote-mm.c index ccbacc5..67727e2 100644 --- a/gdb/remote-mm.c +++ b/gdb/remote-mm.c @@ -51,7 +51,7 @@ extern int stop_soon_quietly; /* for wait_for_inferior */ -static void mm_resume (); +static void mm_resume (ptid_t ptid, int step, enum target_signal sig) static void mm_fetch_registers (); static int fetch_register (); static void mm_store_registers (); @@ -523,7 +523,7 @@ mm_detach (char *args, int from_tty) ** Tell the remote machine to resume. */ static void -mm_resume (int pid, int step, enum target_signal sig) +mm_resume (ptid_t ptid, int step, enum target_signal sig) { if (sig != TARGET_SIGNAL_0) warning ("Can't send signals to a remote MiniMon system."); @@ -547,8 +547,8 @@ mm_resume (int pid, int step, enum target_signal sig) ** Wait until the remote machine stops, then return, storing status in STATUS just as `wait' would. */ -static int -mm_wait (struct target_waitstatus *status) +static ptid_t +mm_wait (ptid_t ptid, struct target_waitstatus *status) { int i, result; int old_timeout = timeout; @@ -692,7 +692,7 @@ halted: timeout = old_timeout; /* Restore original timeout value */ immediate_quit = old_immediate_quit; - return 0; + return inferior_ptid; } /******************************************************* REMOTE_FETCH_REGISTERS |