diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index f4f7aa81845..0b3c143382b 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -1912,7 +1912,6 @@ linux_handle_extended_wait (struct lwp_info *lp, int status) { /* The process is not using thread_db. Add the LWP to GDB's list. */ - target_post_attach (new_lp->ptid.lwp ()); add_thread (linux_target, new_lp->ptid); }