From patchwork Thu Oct 31 23:25:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Simon Marchi (Code Review)" X-Patchwork-Id: 35554 Received: (qmail 109438 invoked by alias); 31 Oct 2019 23:25:10 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 109428 invoked by uid 89); 31 Oct 2019 23:25:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy= X-HELO: mx1.osci.io Received: from polly.osci.io (HELO mx1.osci.io) (8.43.85.229) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 31 Oct 2019 23:25:08 +0000 Received: by mx1.osci.io (Postfix, from userid 994) id 9EFBE204A8; Thu, 31 Oct 2019 19:25:06 -0400 (EDT) Received: from gnutoolchain-gerrit.osci.io (gnutoolchain-gerrit.osci.io [8.43.85.239]) by mx1.osci.io (Postfix) with ESMTP id 57C2120300; Thu, 31 Oct 2019 19:25:02 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by gnutoolchain-gerrit.osci.io (Postfix) with ESMTP id 2445F20AF6; Thu, 31 Oct 2019 19:25:02 -0400 (EDT) X-Gerrit-PatchSet: 1 Date: Thu, 31 Oct 2019 19:25:02 -0400 From: "Christian Biesinger (Code Review)" To: gdb-patches@sourceware.org Cc: Christian Biesinger Message-ID: Auto-Submitted: auto-generated X-Gerrit-MessageType: newchange Subject: [review] Move check for strerror_r to common.m4 where it belongs X-Gerrit-Change-Id: Ibc290c3f84b1db23e998cffdbe2c1f97651d2a8d X-Gerrit-Change-Number: 480 X-Gerrit-ChangeURL: X-Gerrit-Commit: 4f71aaa7c558f13c4378eb94be0e492b8815d3a9 References: Reply-To: cbiesinger@google.com, cbiesinger@google.com, gdb-patches@sourceware.org MIME-Version: 1.0 Content-Disposition: inline User-Agent: Gerrit/3.0.3-75-g9005159e5d Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/480 ...................................................................... Move check for strerror_r to common.m4 where it belongs gdb/ChangeLog: 2019-10-31 Christian Biesinger * configure: Regenerate. * configure.ac: Remove check for strerror_r. * gdbsupport/common.m4: Check for strerror_r. gdb/gdbserver/ChangeLog: 2019-10-31 Christian Biesinger * configure: Regenerate. * configure.ac: Remove check for strerror_r. Change-Id: Ibc290c3f84b1db23e998cffdbe2c1f97651d2a8d --- M gdb/configure M gdb/configure.ac M gdb/gdbserver/configure M gdb/gdbserver/configure.ac M gdb/gdbsupport/common.m4 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gdb/configure b/gdb/configure index 018cc4b..512f016 100755 --- a/gdb/configure +++ b/gdb/configure @@ -13073,7 +13073,7 @@ sigaction sigsetmask socketpair \ ttrace wborder wresize setlocale iconvlist libiconvlist btowc \ setrlimit getrlimit posix_madvise waitpid \ - ptrace64 sigaltstack setns use_default_colors strerror_r + ptrace64 sigaltstack setns use_default_colors 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" @@ -13480,7 +13480,7 @@ for ac_func in fdwalk getrlimit pipe pipe2 socketpair sigaction \ - sigprocmask + sigprocmask strerror_r 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" diff --git a/gdb/configure.ac b/gdb/configure.ac index 987507a..354bb7b 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1318,7 +1318,7 @@ sigaction sigsetmask socketpair \ ttrace wborder wresize setlocale iconvlist libiconvlist btowc \ setrlimit getrlimit posix_madvise waitpid \ - ptrace64 sigaltstack setns use_default_colors strerror_r]) + ptrace64 sigaltstack setns use_default_colors]) AM_LANGINFO_CODESET GDB_AC_COMMON diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 7bf9fa2..3f1f1c1 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -6448,7 +6448,7 @@ fi -for ac_func in getauxval pread pwrite pread64 setns strerror_r +for ac_func in getauxval pread pwrite pread64 setns 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" @@ -6822,7 +6822,7 @@ for ac_func in fdwalk getrlimit pipe pipe2 socketpair sigaction \ - sigprocmask + sigprocmask strerror_r 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" diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac index 44fee8b..7ebc9c3 100644 --- a/gdb/gdbserver/configure.ac +++ b/gdb/gdbserver/configure.ac @@ -90,7 +90,7 @@ sys/ioctl.h netinet/in.h sys/socket.h netdb.h dnl netinet/tcp.h arpa/inet.h) AC_FUNC_FORK -AC_CHECK_FUNCS(getauxval pread pwrite pread64 setns strerror_r) +AC_CHECK_FUNCS(getauxval pread pwrite pread64 setns) GDB_AC_COMMON diff --git a/gdb/gdbsupport/common.m4 b/gdb/gdbsupport/common.m4 index 471d705..2e44cf4 100644 --- a/gdb/gdbsupport/common.m4 +++ b/gdb/gdbsupport/common.m4 @@ -33,7 +33,7 @@ dlfcn.h) AC_CHECK_FUNCS([fdwalk getrlimit pipe pipe2 socketpair sigaction \ - sigprocmask]) + sigprocmask strerror_r]) AC_CHECK_DECLS([strerror, strstr])