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/import/Makefile.am | |
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/import/Makefile.am')
-rw-r--r-- | gnulib/import/Makefile.am | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/gnulib/import/Makefile.am b/gnulib/import/Makefile.am index 9dca489..dd376ce 100644 --- a/gnulib/import/Makefile.am +++ b/gnulib/import/Makefile.am @@ -21,9 +21,9 @@ # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. -# Reproduce by: gnulib-tool --import --lib=libgnu --source-base=import --m4-base=import/m4 --doc-base=doc --tests-base=tests --aux-dir=import/extra --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca canonicalize-lgpl dirent dirfd errno fnmatch-gnu frexpl getcwd glob inet_ntop inttypes limits-h lstat memchr memmem mkdir mkdtemp mkostemp pathmax rawmemchr readlink rename setenv signal-h strchrnul strstr strtok_r sys_stat unistd unsetenv update-copyright wchar wctype-h +# Reproduce by: gnulib-tool --import --lib=libgnu --source-base=import --m4-base=import/m4 --doc-base=doc --tests-base=tests --aux-dir=import/extra --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca canonicalize-lgpl dirent dirfd errno fnmatch-gnu frexpl getcwd glob inet_ntop inttypes limits-h lstat memchr memmem mkdir mkdtemp mkostemp pathmax rawmemchr readlink rename setenv signal-h strchrnul strerror_r-posix strstr strtok_r sys_stat unistd unsetenv update-copyright wchar wctype-h -AUTOMAKE_OPTIONS = 1.9.6 gnits +AUTOMAKE_OPTIONS = 1.9.6 gnits subdir-objects SUBDIRS = noinst_HEADERS = @@ -660,6 +660,13 @@ EXTRA_DIST += hard-locale.h ## end gnulib module hard-locale +## begin gnulib module havelib + + +EXTRA_DIST += $(top_srcdir)/import/extra/config.rpath + +## end gnulib module havelib + ## begin gnulib module inet_ntop @@ -841,6 +848,12 @@ EXTRA_DIST += config.charset ref-add.sin ref-del.sin ## end gnulib module localcharset +## begin gnulib module lock + +libgnu_a_SOURCES += glthread/lock.h glthread/lock.c + +## end gnulib module lock + ## begin gnulib module lstat @@ -1970,6 +1983,15 @@ EXTRA_libgnu_a_SOURCES += strerror-override.c ## end gnulib module strerror-override +## begin gnulib module strerror_r-posix + + +EXTRA_DIST += strerror_r.c + +EXTRA_libgnu_a_SOURCES += strerror_r.c + +## end gnulib module strerror_r-posix + ## begin gnulib module string BUILT_SOURCES += string.h @@ -2301,6 +2323,14 @@ EXTRA_DIST += tempname.h ## end gnulib module tempname +## begin gnulib module threadlib + +libgnu_a_SOURCES += glthread/threadlib.c + +EXTRA_DIST += $(top_srcdir)/import/extra/config.rpath + +## end gnulib module threadlib + ## begin gnulib module time BUILT_SOURCES += time.h |