]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdbsupport/common.m4: check for sigtimedwait
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 5 Jul 2021 13:53:33 +0000 (09:53 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 5 Jul 2021 13:54:35 +0000 (09:54 -0400)
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

gdb/config.in
gdb/configure
gdbserver/config.in
gdbserver/configure
gdbsupport/common.m4
gdbsupport/config.in
gdbsupport/configure

index 9342604ac4c915b32963bf31d758599e55d5479c..2c30504905b8674fa1468b645ec76df7fe75b230 100644 (file)
 /* 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
 
index a5c6fab118c5db4a51efb9cad333075e93b94e15..de4528c43ad8eb48ebbdf78cfe0d0eabbbf83c93 100755 (executable)
@@ -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"
index 611bfd7aa768551c7ae6e9127bdab868e9d24f68..cf06c56421d1147ee3b073a4c8c7e2ef755708ae 100644 (file)
 /* 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
 
index b9d4653ae5e148dafca632fb0c2b09320623365a..b227167e270c0ca2cbed6e0f333d39b7e5b05705 100755 (executable)
@@ -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"
index 2e709dbbdbb3882b355d3d2e8f1b9fc486052da1..901c454ea8cbbb9c3ecf7aa8ff2978d70738cbc3 100644 (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])
 
index c44a2a1e5de8f0b86e3000ae4da06b1e18e9ec6a..f46e2612c7433c27c36110c6722900878695ca49 100644 (file)
 /* 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
 
index 60643c80b5a81417d57d39e9475da92874938de5..a9dd02c5b7224854ae3cffcc5be527f68b2fc832 100755 (executable)
@@ -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"