* Makefile.in (linux_nat_h): Update dependencies.
authorDaniel Jacobowitz <drow@false.org>
Mon, 29 Mar 2004 18:07:14 +0000 (18:07 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 29 Mar 2004 18:07:14 +0000 (18:07 +0000)
commita2f23071c92ee8e0ad72cef70e82af6192b48ba9
tree42d5acab992069bc32ad50036e985434d3e25e50
parent8d5f9dcb37b90814ac723d46d5b93169da19e391
* Makefile.in (linux_nat_h): Update dependencies.
* configure.in: Check for <gnu/libc-version.h>.
* configure: Regenerate.
* config.in: Regenerate.
* linux-nat.h: Include "target.h".  Add waitstatus field to
struct lwp_info.
* lin-lwp.c (add_lwp): Initialize waitstatus.kind.
(lin_lwp_attach_lwp): Don't attach to LWPs we have already attached
to.
(lin_lwp_handle_extended): New function.  Handle clone events.
(wait_lwp): Use lin_lwp_handle_extended.  Update comment about
thread exit events.
(child_wait): Handle clone events.
(lin_lwp_wait: Use lin_lwp_handle_extended and handle clone events.
* linux-nat.c (linux_enable_event_reporting): Turn on
PTRACE_O_TRACECLONE.
(linux_handle_extended_wait): Handle clone events.
* thread-db.c: Include <gnu/libc-version.h>.
(struct private_thread_info): Add dying flag.
(enable_thread_event_reporting): Enable TD_DEATH for glibc 2.2 and
higher.
(attach_thread): Update comments.  Handle dying threads.
(detach_thread): Set the dying flag.
(check_event): Always call attach_thread.
gdb/ChangeLog
gdb/Makefile.in
gdb/config.in
gdb/configure
gdb/configure.in
gdb/lin-lwp.c
gdb/linux-nat.c
gdb/linux-nat.h
gdb/thread-db.c