aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/config.in
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2019-11-06 12:49:52 -0600
committerChristian Biesinger <cbiesinger@google.com>2019-11-15 11:12:24 -0800
commit5abebf3c3fd28a148e43be587c4e4065a0e53ae9 (patch)
tree4a8def2e81bc2676d63f9a0247700f82a097eb92 /gdb/gdbserver/config.in
parent33bd0102c190c1331804c12774e578e33c367552 (diff)
downloadgdb-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 'gdb/gdbserver/config.in')
-rw-r--r--gdb/gdbserver/config.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in
index 2984281..0bce18d 100644
--- a/gdb/gdbserver/config.in
+++ b/gdb/gdbserver/config.in
@@ -229,9 +229,6 @@
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
-/* Define to 1 if you have the `strerror_r' function. */
-#undef HAVE_STRERROR_R
-
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H