From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15664 invoked by alias); 24 Jun 2013 18:44:23 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 15654 invoked by uid 89); 24 Jun 2013 18:44:22 -0000 X-Spam-SWARE-Status: No, score=-4.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL autolearn=no version=3.3.1 Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 24 Jun 2013 18:44:21 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MOW00300UNCJ400@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Mon, 24 Jun 2013 21:44:18 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MOW003ORUPU6I80@a-mtaout22.012.net.il>; Mon, 24 Jun 2013 21:44:18 +0300 (IDT) Date: Mon, 24 Jun 2013 19:03:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] print '--with{,out}-babeltrace' in 'gdb --configuration' In-reply-to: To: Doug Evans Cc: yao@codesourcery.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <834ncnjqmg.fsf@gnu.org> References: <1365761475-23845-1-git-send-email-yao@codesourcery.com> <83fvyr58c5.fsf@gnu.org> <516DEDAD.8070902@codesourcery.com> <516E0ED2.2080203@codesourcery.com> <83obdd2irl.fsf@gnu.org> <83sj0al6u1.fsf@gnu.org> X-SW-Source: 2013-06/txt/msg00668.txt.bz2 > Date: Mon, 24 Jun 2013 11:35:31 -0700 > From: Doug Evans > Cc: Yao Qi , gdb-patches > > > diff -u -p -r1.236 top.c > > --- gdb/top.c 30 May 2013 17:27:44 -0000 1.236 > > +++ gdb/top.c 22 Jun 2013 11:30:47 -0000 > > @@ -1252,6 +1252,9 @@ This GDB was configured as follows:\n\ > > --without-babeltrace\n\ > > ")); > > #endif > > + fprintf_filtered (stream, _("\n\ > > + (\"Relocatable\" means directory can be moved with the GDB installation tree.)\n\ > > +")); > > } > > If you want to print something here, then I think you need to take > into account whether "relocatable" is printed at all. I don't think it's a real danger. One must invest a non-trivial effort to have GDB configured without a single relocatable directory. The requirement was to explain this succinctly. If the above is not deemed good enough, I'd rather not say anything at all. > How about just a sentence or two in the manual near the description of > --configuration (or some such). I tried that, but found no good place to say that. Just saying something where --configuration is described will get this lost in the humongous manual, and users will not necessarily know where to look. Again, if the above is not good enough, let's forget about the whole thing.