gdbsupport/common.m4: check for sigtimedwait

The next patch will make the use of sigtimedwait conditional to whether
the platform provides it.  Start by adding a configure check for it.

gdbsupport/ChangeLog:

	* common.m4 (GDB_AC_COMMON): Check for sigtimedwait.
	* config.in, configure: Re-generate.

gdb/ChangeLog:

	* config.in, configure: Re-generate.

gdbserver/ChangeLog:

	* config.in, configure: Re-generate.

Change-Id: Ic7613fe14521b966b4d991bbcd0933ab14629c05
This commit is contained in:
Simon Marchi
2021-07-05 09:56:05 -04:00
parent 4165a99398
commit 507af45f62
10 changed files with 26 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2021-07-05 Simon Marchi <simon.marchi@polymtl.ca>
* config.in, configure: Re-generate.
2021-07-04 Simon Marchi <simon.marchi@polymtl.ca>
* solib-darwin.c (darwin_solib_create_inferior_hook): Return

View File

@@ -414,6 +414,9 @@
/* Define to 1 if you have the `sigsetmask' function. */
#undef HAVE_SIGSETMASK
/* Define to 1 if you have the `sigtimedwait' function. */
#undef HAVE_SIGTIMEDWAIT
/* Define to 1 if you have the `socketpair' function. */
#undef HAVE_SOCKETPAIR

2
gdb/configure vendored
View File

@@ -13857,7 +13857,7 @@ fi
for ac_func in fdwalk getrlimit pipe pipe2 poll socketpair sigaction \
ptrace64 sbrk setns sigaltstack sigprocmask \
setpgid setpgrp getrusage getauxval
setpgid setpgrp getrusage getauxval sigtimedwait
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"

View File

@@ -1,3 +1,7 @@
2021-07-05 Simon Marchi <simon.marchi@polymtl.ca>
* config.in, configure: Re-generate.
2021-06-19 Mike Frysinger <vapier@gentoo.org>
* acinclude.m4: Delete most m4_include's of ../config files.

View File

@@ -266,6 +266,9 @@
/* Define if sigsetjmp is available. */
#undef HAVE_SIGSETJMP
/* Define to 1 if you have the `sigtimedwait' function. */
#undef HAVE_SIGTIMEDWAIT
/* Define to 1 if you have the `socketpair' function. */
#undef HAVE_SOCKETPAIR

2
gdbserver/configure vendored
View File

@@ -7118,7 +7118,7 @@ fi
for ac_func in fdwalk getrlimit pipe pipe2 poll socketpair sigaction \
ptrace64 sbrk setns sigaltstack sigprocmask \
setpgid setpgrp getrusage getauxval
setpgid setpgrp getrusage getauxval sigtimedwait
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"

View File

@@ -1,3 +1,8 @@
2021-07-05 Simon Marchi <simon.marchi@polymtl.ca>
* common.m4 (GDB_AC_COMMON): Check for sigtimedwait.
* config.in, configure: Re-generate.
2021-06-17 Pedro Alves <pedro@palves.net>
* scoped_ignore_signal.h

View File

@@ -53,7 +53,7 @@ AC_DEFUN([GDB_AC_COMMON], [
AC_FUNC_FORK
AC_CHECK_FUNCS([fdwalk getrlimit pipe pipe2 poll socketpair sigaction \
ptrace64 sbrk setns sigaltstack sigprocmask \
setpgid setpgrp getrusage getauxval])
setpgid setpgrp getrusage getauxval sigtimedwait])
AC_CHECK_DECLS([strstr])

View File

@@ -210,6 +210,9 @@
/* Define if sigsetjmp is available. */
#undef HAVE_SIGSETJMP
/* Define to 1 if you have the `sigtimedwait' function. */
#undef HAVE_SIGTIMEDWAIT
/* Define to 1 if you have the `socketpair' function. */
#undef HAVE_SOCKETPAIR

View File

@@ -8131,7 +8131,7 @@ fi
for ac_func in fdwalk getrlimit pipe pipe2 poll socketpair sigaction \
ptrace64 sbrk setns sigaltstack sigprocmask \
setpgid setpgrp getrusage getauxval
setpgid setpgrp getrusage getauxval sigtimedwait
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"