OSDN Git Service

2011-09-02 Pedro Alves <pedro@codesourcery.com>
authorpalves <palves>
Fri, 2 Sep 2011 21:03:04 +0000 (21:03 +0000)
committerpalves <palves>
Fri, 2 Sep 2011 21:03:04 +0000 (21:03 +0000)
commit9763552cb5d8a6f226f87073a48566c005adf6e8
tree127a759aea6db2053ce788e71c69fe5100886bdc
parent854ced702a44065a0008865f05ebbfeb721c1a5f
2011-09-02  Pedro Alves  <pedro@codesourcery.com>

* linux-nat.c (in_pid_list_p): New.
(linux_record_stopped_pid): Delete.
(lin_lwp_attach_lwp): Check if PTRACE_ATTACH failed because we're
already attached to the LWP.  Return an indication if so.
(linux_nat_filter_event): Adjust.
* linux-thread-db.c (attach_thread): Handle lin_lwp_attach_lwp
returning an indication to ignore this thread.
gdb/ChangeLog
gdb/linux-nat.c
gdb/linux-thread-db.c