+2017-06-03 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * linux-nat.c (linux_nat_post_attach_wait): Remove FIRST
+ parameter.
+ (linux_nat_attach): Adjust call to linux_nat_post_attach_wait.
+
2017-06-02 Simon Marchi <simon.marchi@ericsson.com>
* event-loop.c (poll_timers): Unallocate timer using delete
Returns a wait status for that LWP, to cache. */
static int
-linux_nat_post_attach_wait (ptid_t ptid, int first, int *signalled)
+linux_nat_post_attach_wait (ptid_t ptid, int *signalled)
{
pid_t new_pid, pid = ptid_get_lwp (ptid);
int status;
/* Add the initial process as the first LWP to the list. */
lp = add_initial_lwp (ptid);
- status = linux_nat_post_attach_wait (lp->ptid, 1, &lp->signalled);
+ status = linux_nat_post_attach_wait (lp->ptid, &lp->signalled);
if (!WIFSTOPPED (status))
{
if (WIFEXITED (status))