diff options
author | Tom Tromey <tom@tromey.com> | 2019-10-17 20:51:44 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-10-23 09:06:21 -0600 |
commit | c12d372d263309e2ee81efda713096ea9e62a759 (patch) | |
tree | a920557ca67893937fedd1d0a5120ba93b67452b /gdb/gdbserver | |
parent | 4d0b984b970b9526d267ada259b62ec2c42cfb24 (diff) | |
download | gdb-c12d372d263309e2ee81efda713096ea9e62a759.zip gdb-c12d372d263309e2ee81efda713096ea9e62a759.tar.gz gdb-c12d372d263309e2ee81efda713096ea9e62a759.tar.bz2 |
Check for sigprocmask in common.m4
I noticed that gdbsupport uses HAVE_SIGPROCMASK, but common.m4 does
not check for it. This means that gdbserver may not compile some
gdbsupport code properly. This patch fixes this error.
gdb/ChangeLog
2019-10-23 Tom Tromey <tom@tromey.com>
* configure: Rebuild.
* configure.ac: Don't check for sigprocmask.
* gdbsupport/common.m4 (GDB_AC_COMMON): Check for sigprocmask.
gdb/gdbserver/ChangeLog
2019-10-23 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
Change-Id: I2c0a4dd2c376507b9483b38707a242382faa8163
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/config.in | 3 | ||||
-rwxr-xr-x | gdb/gdbserver/configure | 3 |
3 files changed, 9 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index d48b3de..dcd6238 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,9 @@ 2019-10-23 Tom Tromey <tom@tromey.com> + * configure, config.in: Rebuild. + +2019-10-23 Tom Tromey <tom@tromey.com> + * configure: Rebuild. * acinclude.m4: Use m4_include, not sinclude. diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in index f05e9be..0bce18d 100644 --- a/gdb/gdbserver/config.in +++ b/gdb/gdbserver/config.in @@ -211,6 +211,9 @@ /* Define to 1 if you have the <signal.h> header file. */ #undef HAVE_SIGNAL_H +/* Define to 1 if you have the `sigprocmask' function. */ +#undef HAVE_SIGPROCMASK + /* Define if sigsetjmp is available. */ #undef HAVE_SIGSETJMP diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 5c84eeb..e513fc5 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -6821,7 +6821,8 @@ fi done - for ac_func in fdwalk getrlimit pipe pipe2 socketpair sigaction + for ac_func in fdwalk getrlimit pipe pipe2 socketpair sigaction \ + sigprocmask 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" |