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 /gnulib/config.in | |
parent | 33bd0102c190c1331804c12774e578e33c367552 (diff) | |
download | gdb-5abebf3c3fd28a148e43be587c4e4065a0e53ae9.zip gdb-5abebf3c3fd28a148e43be587c4e4065a0e53ae9.tar.gz gdb-5abebf3c3fd28a148e43be587c4e4065a0e53ae9.tar.bz2 |
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 'gnulib/config.in')
-rw-r--r-- | gnulib/config.in | 60 |
1 files changed, 56 insertions, 4 deletions
diff --git a/gnulib/config.in b/gnulib/config.in index b0ba800..727fb4f 100644 --- a/gnulib/config.in +++ b/gnulib/config.in @@ -96,6 +96,10 @@ #undef GNULIB_GETCWD /* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module lock shall be considered present. */ +#undef GNULIB_LOCK + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module mkostemp shall be considered present. */ #undef GNULIB_MKOSTEMP @@ -260,6 +264,9 @@ /* Define to 1 when the gnulib module strerror should be tested. */ #undef GNULIB_TEST_STRERROR +/* Define to 1 when the gnulib module strerror_r should be tested. */ +#undef GNULIB_TEST_STRERROR_R + /* Define to 1 when the gnulib module strstr should be tested. */ #undef GNULIB_TEST_STRSTR @@ -289,6 +296,9 @@ /* Define to 1 if you have the 'canonicalize_file_name' function. */ #undef HAVE_CANONICALIZE_FILE_NAME +/* Define to 1 if you have the 'catgets' function. */ +#undef HAVE_CATGETS + /* Define to 1 if you have the `closedir' function. */ #undef HAVE_CLOSEDIR @@ -372,10 +382,13 @@ */ #undef HAVE_DECL_STRDUP -/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you - don't. */ +/* Define to 1, since you should have the declaration of strerror_r. */ #undef HAVE_DECL_STRERROR_R +/* Define to 1 if you have the declaration of 'strerror_r' in the system + include files, or to 0 otherwise. */ +#undef HAVE_DECL_STRERROR_R_ORIG + /* Define to 1 if you have the declaration of `strtok_r', and to 0 if you don't. */ #undef HAVE_DECL_STRTOK_R @@ -586,6 +599,12 @@ /* Define to 1 if you have the 'pipe' function. */ #undef HAVE_PIPE +/* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */ +#undef HAVE_PTHREAD_MUTEX_RECURSIVE + +/* Define if the POSIX multithreading library has read/write locks. */ +#undef HAVE_PTHREAD_RWLOCK + /* Define to 1 if you have the `rawmemchr' function. */ #undef HAVE_RAWMEMCHR @@ -1511,6 +1530,9 @@ /* Define to 1 if the system has the type `sigset_t'. */ #undef HAVE_SIGSET_T +/* Define to 1 if you have the 'snprintf' function. */ +#undef HAVE_SNPRINTF + /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H @@ -1523,7 +1545,7 @@ /* Define to 1 if you have the 'strdup' function. */ #undef HAVE_STRDUP -/* Define to 1 if you have the `strerror_r' function. */ +/* Define to 1, since you should have the function strerror_r. */ #undef HAVE_STRERROR_R /* Define to 1 if you have the <strings.h> header file. */ @@ -1651,6 +1673,9 @@ /* Define to 1 if you have the `__secure_getenv' function. */ #undef HAVE___SECURE_GETENV +/* Define to 1 if you have the '__xpg_strerror_r' function. */ +#undef HAVE___XPG_STRERROR_R + /* Define as the bit index in the word where to find bit 0 of the exponent of 'long double'. */ #undef LDBL_EXPBIT0_BIT @@ -1718,6 +1743,9 @@ type mode_t. */ #undef PROMOTED_MODE_T +/* Define if the pthread_in_use() detection is hard. */ +#undef PTHREAD_IN_USE_DETECTION_HARD + /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'ptrdiff_t'. */ #undef PTRDIFF_T_SUFFIX @@ -1784,9 +1812,30 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS -/* Define to 1 if strerror_r returns char *. */ +/* Define to 0, since strerror_r should not return char *. */ #undef STRERROR_R_CHAR_P +/* Define if the POSIX multithreading library can be used. */ +#undef USE_POSIX_THREADS + +/* Define if references to the POSIX multithreading library should be made + weak. */ +#undef USE_POSIX_THREADS_WEAK + +/* Define if the GNU Pth multithreading library can be used. */ +#undef USE_PTH_THREADS + +/* Define if references to the GNU Pth multithreading library should be made + weak. */ +#undef USE_PTH_THREADS_WEAK + +/* Define if the old Solaris multithreading library can be used. */ +#undef USE_SOLARIS_THREADS + +/* Define if references to the old Solaris multithreading library should be + made weak. */ +#undef USE_SOLARIS_THREADS_WEAK + /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE @@ -1847,6 +1896,9 @@ #endif +/* Define if the native Windows multithreading API can be used. */ +#undef USE_WINDOWS_THREADS + /* Define to 1 if unsetenv returns void instead of int. */ #undef VOID_UNSETENV |