* linux-nat.c (lin_lwp_attach_lwp): Return a status. Do not
authorDaniel Jacobowitz <drow@false.org>
Sun, 31 Dec 2006 21:04:51 +0000 (21:04 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 31 Dec 2006 21:04:51 +0000 (21:04 +0000)
commit9ee57c332efe6e35ee95d8be28f89c320590e0a3
tree534180cc1ea69fcb73a26a76247247003eecf013
parent59f80f10887fdfa0299b22f33b11efa4ec069fee
* linux-nat.c (lin_lwp_attach_lwp): Return a status.  Do not
add the LWP to our list until we are attached.  Warn instead
of erroring if the attach fails.
* linux-nat.h (lin_lwp_attach_lwp): New prototype.
* linux-thread-db.c (attach_thread): Call lin_lwp_attach_lwp
directly.  Do not add the thread to our list until we are
successfully attached.
* config/nm-linux.h (lin_lwp_attach_lwp, ATTACH_LWP): Delete.
gdb/ChangeLog
gdb/config/nm-linux.h
gdb/linux-nat.c
gdb/linux-nat.h
gdb/linux-thread-db.c