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-bug.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-bug.c')
-rw-r--r-- | gdb/remote-bug.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/remote-bug.c b/gdb/remote-bug.c index 498edc6..3537957 100644 --- a/gdb/remote-bug.c +++ b/gdb/remote-bug.c @@ -115,7 +115,7 @@ bug_load (char *args, int fromtty) sr_check_open (); - inferior_pid = 0; + inferior_ptid = null_ptid; abfd = bfd_openr (args, 0); if (!abfd) { @@ -232,7 +232,7 @@ bug_open (char *args, int from_tty) /* Tell the remote machine to resume. */ void -bug_resume (int pid, int step, enum target_signal sig) +bug_resume (ptid_t ptid, int step, enum target_signal sig) { if (step) { @@ -261,8 +261,8 @@ static char *wait_strings[] = NULL, }; -int -bug_wait (int pid, struct target_waitstatus *status) +ptid_t +bug_wait (ptid_t ptid, struct target_waitstatus *status) { int old_timeout = sr_get_timeout (); int old_immediate_quit = immediate_quit; @@ -325,7 +325,7 @@ bug_wait (int pid, struct target_waitstatus *status) sr_set_timeout (old_timeout); immediate_quit = old_immediate_quit; - return 0; + return inferior_ptid; } /* Return the name of register number REGNO |