From patchwork Fri Aug 5 15:58:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 14339 Received: (qmail 23329 invoked by alias); 5 Aug 2016 15:59:04 -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 23309 invoked by uid 89); 5 Aug 2016 15:59:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=1, 7, plugins X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 05 Aug 2016 15:58:53 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7A93A83F3E for ; Fri, 5 Aug 2016 15:58:51 +0000 (UTC) Received: from cascais.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u75FwoiT001720 for ; Fri, 5 Aug 2016 11:58:50 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [pushed master+7.12] gdb/configure --help: suggest --disable-build-with-cxx instead of --enable... Date: Fri, 5 Aug 2016 16:58:50 +0100 Message-Id: <1470412730-29072-1-git-send-email-palves@redhat.com> We build by default with a C++ compiler, but "configure --help" still says "--enable-build-with-cxx", which hints that it is by default disabled. Update the --help text. gdb/ChangeLog: 2016-08-05 Pedro Alves * build-with-cxx.m4: Change help string to be in terms of --disable-build-with-cxx. * configure: Regenerate. gdb/gdbserver/ChangeLog: 2016-08-05 Pedro Alves * configure: Regenerate. --- gdb/ChangeLog | 6 ++++++ gdb/gdbserver/ChangeLog | 4 ++++ gdb/build-with-cxx.m4 | 2 +- gdb/configure | 3 ++- gdb/gdbserver/configure | 3 ++- 5 files changed, 15 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1e14dfd..e153168 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2016-08-05 Pedro Alves + + * build-with-cxx.m4: Change help string to be in terms of + --disable-build-with-cxx. + * configure: Regenerate. + 2016-08-04 Yao Qi * aarch64-linux-nat.c (tdesc_arm_with_vfpv3): Remove the diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 13562e0..c147a1d 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2016-08-05 Pedro Alves + + * configure: Regenerate. + 2016-08-04 Yao Qi * linux-low.c (regsets_fetch_inferior_registers): Check diff --git a/gdb/build-with-cxx.m4 b/gdb/build-with-cxx.m4 index 6077278..58caa8a 100644 --- a/gdb/build-with-cxx.m4 +++ b/gdb/build-with-cxx.m4 @@ -22,7 +22,7 @@ dnl allowing a user to build with a C++ compiler. AC_DEFUN([GDB_AC_BUILD_WITH_CXX], [ AC_ARG_ENABLE(build-with-cxx, - AS_HELP_STRING([--enable-build-with-cxx], [build with C++ compiler instead of C compiler]), + AS_HELP_STRING([--disable-build-with-cxx], [build with C compiler instead of C++ compiler]), [case $enableval in yes | no) ;; diff --git a/gdb/configure b/gdb/configure index 067f86e..8f92ed9 100755 --- a/gdb/configure +++ b/gdb/configure @@ -1503,7 +1503,8 @@ Optional Features: (and sometimes confusing) to the casual installer --enable-plugins Enable support for plugins --disable-largefile omit support for large files - --enable-build-with-cxx build with C++ compiler instead of C compiler + --disable-build-with-cxx + build with C compiler instead of C++ compiler --enable-targets=TARGETS alternative target configurations --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 2926deb..80fa1f3 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -1339,7 +1339,8 @@ Optional Features: --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-largefile omit support for large files - --enable-build-with-cxx build with C++ compiler instead of C compiler + --disable-build-with-cxx + build with C compiler instead of C++ compiler --enable-libmcheck Try linking with -lmcheck if available --enable-werror treat compile warnings as errors --enable-build-warnings enable build-time compiler warnings if gcc is used