OSDN Git Service

* linux-nat.c (lin_lwp_attach_lwp): Return a status. Do not
authordrow <drow>
Sun, 31 Dec 2006 21:04:51 +0000 (21:04 +0000)
committerdrow <drow>
Sun, 31 Dec 2006 21:04:51 +0000 (21:04 +0000)
commitca7a0cf04f55d4e452c83d0b1ce64475db1bb674
tree2d1244c7c5464dc4213eaa3bfaef4ee57db2dde1
parentb3dd8ffba6207ddf7c02f3fe5be24a3355c27354
* 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