diff options
Diffstat (limited to 'gdbserver/linux-low.cc')
-rw-r--r-- | gdbserver/linux-low.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdbserver/linux-low.cc b/gdbserver/linux-low.cc index fc7a995..d27a216 100644 --- a/gdbserver/linux-low.cc +++ b/gdbserver/linux-low.cc @@ -491,7 +491,7 @@ linux_process_target::handle_extended_wait (lwp_info **orig_event_lwp, struct lwp_info *child_lwp; struct thread_info *child_thr; - ptid = ptid_t (new_pid, new_pid, 0); + ptid = ptid_t (new_pid, new_pid); if (debug_threads) { @@ -597,7 +597,7 @@ linux_process_target::handle_extended_wait (lwp_info **orig_event_lwp, "from LWP %ld, new child is LWP %ld\n", lwpid_of (event_thr), new_pid); - ptid = ptid_t (pid_of (event_thr), new_pid, 0); + ptid = ptid_t (pid_of (event_thr), new_pid); new_lwp = add_lwp (ptid); /* Either we're going to immediately resume the new thread @@ -974,7 +974,7 @@ linux_process_target::create_inferior (const char *program, add_linux_process (pid, 0); - ptid = ptid_t (pid, pid, 0); + ptid = ptid_t (pid, pid); new_lwp = add_lwp (ptid); new_lwp->must_set_ptrace_flags = 1; @@ -1139,7 +1139,7 @@ linux_process_target::attach (unsigned long pid) { struct process_info *proc; struct thread_info *initial_thread; - ptid_t ptid = ptid_t (pid, pid, 0); + ptid_t ptid = ptid_t (pid, pid); int err; proc = add_linux_process (pid, 1); @@ -1157,7 +1157,7 @@ linux_process_target::attach (unsigned long pid) /* Don't ignore the initial SIGSTOP if we just attached to this process. It will be collected by wait shortly. */ - initial_thread = find_thread_ptid (ptid_t (pid, pid, 0)); + initial_thread = find_thread_ptid (ptid_t (pid, pid)); initial_thread->last_resume_kind = resume_stop; /* We must attach to every LWP. If /proc is mounted, use that to @@ -2272,7 +2272,7 @@ linux_process_target::filter_event (int lwpid, int wstat) "after exec.\n", lwpid); } - child_ptid = ptid_t (lwpid, lwpid, 0); + child_ptid = ptid_t (lwpid, lwpid); child = add_lwp (child_ptid); child->stopped = 1; current_thread = child->thread; |