On Mon, Oct 26, 2009 at 2:25 PM, Paul Pluzhnikov wrote: > I'll commit attached patch tomorrow if there are no further comments. So committed. > A similar patch is required for gdbserver as well. Attached. Thanks, -- Paul Pluzhnikov 2009-10-27 Paul Pluzhnikov PR gdb/10757 * thread-db.c (attach_thread): New function. (maybe_attach_thread): Return success/failure. (find_new_threads_callback): Adjust. (thread_db_find_new_threads): Loop until no new threads.