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 | b757528ff667b76d6ba7ec2b12138abc2cd3164b (patch) | |
tree | da516883e955ac6c4bbc97145aec242d42e560bf /gdb/config.in | |
parent | e8c1a4e716cf384e20ac35589785fbd91292b36f (diff) | |
download | gdb-b757528ff667b76d6ba7ec2b12138abc2cd3164b.zip gdb-b757528ff667b76d6ba7ec2b12138abc2cd3164b.tar.gz gdb-b757528ff667b76d6ba7ec2b12138abc2cd3164b.tar.bz2 |
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/config.in')
-rw-r--r-- | gdb/config.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/config.in b/gdb/config.in index 4500519..9fddbef 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -257,6 +257,9 @@ /* Define if you have the strchr function. */ #undef HAVE_STRCHR +/* Define if you have the syscall function. */ +#undef HAVE_SYSCALL + /* Define if you have the <argz.h> header file. */ #undef HAVE_ARGZ_H @@ -513,6 +516,9 @@ /* Define if <thread_db.h> has the TD_NOTALLOC error code. */ #undef THREAD_DB_HAS_TD_NOTALLOC +/* Define if we can use the tkill syscall. */ +#undef HAVE_TKILL_SYSCALL + /* Define to the default OS ABI for this configuration. */ #undef GDB_OSABI_DEFAULT |