From a2f23071c92ee8e0ad72cef70e82af6192b48ba9 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz <drow@false.org> Date: Mon, 29 Mar 2004 18:07:14 +0000 Subject: * 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/config.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/config.in') diff --git a/gdb/config.in b/gdb/config.in index 69982fd6b9a..a1c2b0fc5cc 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -266,6 +266,9 @@ /* Define if you have the <dirent.h> header file. */ #undef HAVE_DIRENT_H +/* Define if you have the <gnu/libc-version.h> header file. */ +#undef HAVE_GNU_LIBC_VERSION_H + /* Define if you have the <libunwind-ia64.h> header file. */ #undef HAVE_LIBUNWIND_IA64_H -- cgit v1.2.1