diff options
author | Christian Biesinger <cbiesinger@google.com> | 2019-11-06 12:49:52 -0600 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2019-11-15 11:12:24 -0800 |
commit | 5abebf3c3fd28a148e43be587c4e4065a0e53ae9 (patch) | |
tree | 4a8def2e81bc2676d63f9a0247700f82a097eb92 /gdb/configure | |
parent | Generate gnulib's toplevel Makefile.in using automake (diff) | |
download | binutils-gdb-5abebf3c3fd28a148e43be587c4e4065a0e53ae9.tar.gz binutils-gdb-5abebf3c3fd28a148e43be587c4e4065a0e53ae9.tar.bz2 binutils-gdb-5abebf3c3fd28a148e43be587c4e4065a0e53ae9.zip |
Import the strerror_r-posix module and use it in GDB.
Makes sure to assign the return value of strerror_r to an int,
so that we get a compile error if we accidentally get the
wrong version.
gdb/ChangeLog:
2019-11-15 Christian Biesinger <cbiesinger@google.com>
* config.in: Regenerate.
* configure: Regenerate.
* gdbsupport/common.m4: No longer check for strerror_r.
* gdbsupport/posix-strerror.c (safe_strerror): Always call the
POSIX version of strerror_r, now that gnulib provides it if
necessary.
gdb/gdbserver/ChangeLog:
2019-11-15 Christian Biesinger <cbiesinger@google.com>
* config.in: Regenerate.
* configure: Regenerate.
gnulib/ChangeLog:
2019-11-15 Christian Biesinger <cbiesinger@google.com>
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* import/Makefile.am: Update.
* import/Makefile.in: Regenerate.
* import/extra/config.rpath: New file.
* import/glthread/lock.c: New file.
* import/glthread/lock.h: New file.
* import/glthread/threadlib.c: New file.
* import/m4/gnulib-cache.m4: Update.
* import/m4/gnulib-comp.m4: Update.
* import/m4/lib-ld.m4: New file.
* import/m4/lib-link.m4: New file.
* import/m4/lib-prefix.m4: New file.
* import/m4/lock.m4: New file.
* import/m4/strerror_r.m4: New file.
* import/m4/threadlib.m4: New file.
* import/strerror_r.c: New file.
* update-gnulib.sh: Import strerror_r-posix.
Change-Id: I5cfeb12a5203a4cd94a78581541e6085a68685c3
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure b/gdb/configure index 512f0162ff2..e8059039bd5 100755 --- a/gdb/configure +++ b/gdb/configure @@ -13480,7 +13480,7 @@ done for ac_func in fdwalk getrlimit pipe pipe2 socketpair sigaction \ - sigprocmask strerror_r + 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" |