Message ID | 55A4E839.504@aegee.org |
---|---|
State | New, archived |
Headers |
Received: (qmail 38621 invoked by alias); 14 Jul 2015 10:45:56 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <gdb-patches.sourceware.org> List-Unsubscribe: <mailto:gdb-patches-unsubscribe-##L=##H@sourceware.org> List-Subscribe: <mailto:gdb-patches-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 38608 invoked by uid 89); 14 Jul 2015 10:45:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: scc-mailout-kit-01-aegee.scc.kit.edu Received: from scc-mailout-kit-01-aegee.scc.kit.edu (HELO scc-mailout-kit-01-aegee.scc.kit.edu) (129.13.231.90) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 14 Jul 2015 10:45:53 +0000 Received: from aegeepc1.aegee.uni-karlsruhe.de ([129.13.131.81] helo=smtp.aegee.org) by scc-mailout-kit-01.scc.kit.edu with esmtps (TLS1.2:RSA_CAMELLIA_256_CBC_SHA1:256) (envelope-from <dilyan.palauzov@aegee.org>) id 1ZExif-000058-32 for gdb-patches@sourceware.org; Tue, 14 Jul 2015 12:45:50 +0200 Authentication-Results: aegeeserv.aegee.org; auth=pass (PLAIN) smtp.auth=didopalauzov DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.aegee.org t6EAivb6010767 Authentication-Results: mail.aegee.org; dkim=none Received: from [192.168.178.22] (aftr-185-17-204-65.dynamic.mnet-online.de [185.17.204.65]) (authenticated bits=0) by smtp.aegee.org (8.15.1/8.15.1) with ESMTPSA id t6EAivb6010767 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for <gdb-patches@sourceware.org>; Tue, 14 Jul 2015 10:45:54 GMT Message-ID: <55A4E839.504@aegee.org> Date: Tue, 14 Jul 2015 12:45:13 +0200 From: Dilyan Palauzov <dilyan.palauzov@aegee.org> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: [PATCH] show configuration --without-python Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit |
Commit Message
Дилян Палаузов
July 14, 2015, 10:45 a.m. UTC
Emit information upon "show configuration", if GDB has no Python support, as it is done for Guile.
Comments
Dilyan Palauzov <dilyan.palauzov@aegee.org> writes: > Emit information upon "show configuration", if GDB has no Python > support, as it is done for Guile. > > diff --git a/gdb/top.c b/gdb/top.c > index 1e30b1c..bd42641 100644 > --- a/gdb/top.c > +++ b/gdb/top.c > @@ -1326,6 +1326,10 @@ This GDB was configured as follows:\n\ > fprintf_filtered (stream, _("\ > --with-python=%s%s\n\ > "), WITH_PYTHON_PATH, PYTHON_PATH_RELOCATABLE ? " (relocatable)" : ""); > +#else > + fprintf_filtered (stream, _("\ > + --without-python\n\ > +")); > #endif > #if HAVE_GUILE > fprintf_filtered (stream, _("\ LGTM [with requisite changelog entry of course]
Any progress here? On Tue, 2015-07-14 at 12:45 +0200, Dilyan Palauzov wrote: > Emit information upon "show configuration", if GDB has no Python > support, as it is done for Guile. > > diff --git a/gdb/top.c b/gdb/top.c > index 1e30b1c..bd42641 100644 > --- a/gdb/top.c > +++ b/gdb/top.c > @@ -1326,6 +1326,10 @@ This GDB was configured as follows:\n\ > fprintf_filtered (stream, _("\ > --with-python=%s%s\n\ > "), WITH_PYTHON_PATH, PYTHON_PATH_RELOCATABLE ? " (relocatable)" : ""); > +#else > + fprintf_filtered (stream, _("\ > + --without-python\n\ > +")); > #endif > #if HAVE_GUILE > fprintf_filtered (stream, _("\
> Any progress here? Sorry for the late reply. This looks fine. Do you have write access to the GDB repository? > > On Tue, 2015-07-14 at 12:45 +0200, Dilyan Palauzov wrote: > > Emit information upon "show configuration", if GDB has no Python > > support, as it is done for Guile. > > > > diff --git a/gdb/top.c b/gdb/top.c > > index 1e30b1c..bd42641 100644 > > --- a/gdb/top.c > > +++ b/gdb/top.c > > @@ -1326,6 +1326,10 @@ This GDB was configured as follows:\n\ > > fprintf_filtered (stream, _("\ > > --with-python=%s%s\n\ > > "), WITH_PYTHON_PATH, PYTHON_PATH_RELOCATABLE ? " (relocatable)" : ""); > > +#else > > + fprintf_filtered (stream, _("\ > > + --without-python\n\ > > +")); > > #endif > > #if HAVE_GUILE > > fprintf_filtered (stream, _("\
diff --git a/gdb/top.c b/gdb/top.c index 1e30b1c..bd42641 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1326,6 +1326,10 @@ This GDB was configured as follows:\n\ fprintf_filtered (stream, _("\ --with-python=%s%s\n\ "), WITH_PYTHON_PATH, PYTHON_PATH_RELOCATABLE ? " (relocatable)" : ""); +#else + fprintf_filtered (stream, _("\ + --without-python\n\ +")); #endif #if HAVE_GUILE fprintf_filtered (stream, _("\