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 | 1833b4efc52b4d056d843af95982b36ce34e8784 (patch) | |
tree | 2acb1651ccd4af0cc1272d37f373f1a63ac25ac8 /gdb/remote-st.c | |
parent | 0122230badabd76bac4af1754fe642ece1cb45c6 (diff) | |
download | gdb-1833b4efc52b4d056d843af95982b36ce34e8784.tar.gz |
Phase 1 of the ptid_t changes.gdb-post-ptid_t-2001-05-03
Diffstat (limited to 'gdb/remote-st.c')
-rw-r--r-- | gdb/remote-st.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote-st.c b/gdb/remote-st.c index b341aeb5f64..868c08ed484 100644 --- a/gdb/remote-st.c +++ b/gdb/remote-st.c @@ -339,7 +339,7 @@ st2000_detach (int from_tty) /* Tell the remote machine to resume. */ static void -st2000_resume (int pid, int step, enum target_signal sig) +st2000_resume (ptid_t ptid, int step, enum target_signal sig) { if (step) { @@ -358,8 +358,8 @@ st2000_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 -st2000_wait (struct target_waitstatus *status) +static ptid_t +st2000_wait (ptid_t ptid, struct target_waitstatus *status) { int old_timeout = timeout; @@ -375,7 +375,7 @@ st2000_wait (struct target_waitstatus *status) timeout = old_timeout; - return 0; + return inferior_ptid; } /* Return the name of register number REGNO in the form input and output by |