A Thursday 10 July 2008 20:58:55, Daniel Jacobowitz wrote: > Right. Could you try this version? Thanks! > Basically the same as your previous posting, except that I moved the > logic assuring we find the first thread when we find the first child > into the thread-db layer. Then, this patch cleaned it up a bit further. Basically, it gets rid of the find_lwp_pid call in thread_db_find_new_threads. Instead I'm using ALL_LWPS, which is already exported. This gets rid of the find_lwp_pid -> linux_nat_lwp_pid rename throughout, and removes the need for thread_db_find_new_threads_1. I then reimported a couple of comments and cleanups that were on the last patch, since you had picked up the previous-to-last. Otherwise, the logic is the same. Regtested on x86_64-unknown-linux-gnu. OK? -- Pedro Alves