[non-stop] 08/10 linux native support

Pedro Alves pedro@codesourcery.com
Thu Jul 10 21:51:00 GMT 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 008-non_stop_linux.diff
Type: text/x-diff
Size: 19508 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080710/902d29cf/attachment.bin>


More information about the Gdb-patches mailing list