diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-06-04 20:51:29 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-06-04 20:51:29 +0000 |
commit | 52be14f43bc8371ed8b655ec7df87355a28bd806 (patch) | |
tree | 2d482f73cab221356577c3f6a351579b30d812ab /gdb/acconfig.h | |
parent | 7d1ce9e5da2bb6124c9f7a88aab81d73782320d4 (diff) | |
download | gdb-52be14f43bc8371ed8b655ec7df87355a28bd806.tar.gz |
2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
* acconfig.h: Add HAVE_TKILL_SYSCALL definition check.
* config.in: Regenerated.
* configure.in: Add test for syscall function and check for
__NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL.
* configure: Regenerated.
* lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and
<sys/syscall.h>.
(kill_lwp): New function that uses tkill syscall or
uses kill, depending on whether threading model is nptl or not.
All callers of kill() changed to use kill_lwp().
(lin_lwp_wait): Make special check when WIFEXITED occurs to
see if all threads have already exited in the nptl model.
(stop_and_resume_callback): New callback function used by the
lin_lwp_wait thread exit handling code.
(stop_wait_callback): Check for threads already having exited and
delete such threads fromt the lwp list when discovered.
(stop_callback): Don't assert retcode of kill call.
Roland McGrath <roland@redhat.com>
* i386-linux-nat.c (ps_get_thread_area): New function needed by
nptl libthread_db.
Diffstat (limited to 'gdb/acconfig.h')
-rw-r--r-- | gdb/acconfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/acconfig.h b/gdb/acconfig.h index a9bf0a48048..a7d25e84bd5 100644 --- a/gdb/acconfig.h +++ b/gdb/acconfig.h @@ -95,6 +95,9 @@ /* Define if using Solaris thread debugging. */ #undef HAVE_THREAD_DB_LIB +/* Define if you support the tkill syscall. */ +#undef HAVE_TKILL_SYSCALL + /* Define on a GNU/Linux system to work around problems in sys/procfs.h. */ #undef START_INFERIOR_TRAPS_EXPECTED #undef sys_quotactl |