From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10966 invoked by alias); 19 Jul 2012 16:45:30 -0000 Received: (qmail 10954 invoked by uid 22791); 19 Jul 2012 16:45:28 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Jul 2012 16:45:10 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M7F005002G6I600@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Thu, 19 Jul 2012 19:45:06 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7F004RC2J6Y6C0@a-mtaout20.012.net.il>; Thu, 19 Jul 2012 19:45:06 +0300 (IDT) Date: Thu, 19 Jul 2012 16:45:00 -0000 From: Eli Zaretskii Subject: Re: [RFA, doc RFA] New option set use-deprecated-index-sections In-reply-to: To: Doug Evans Cc: jan.kratochvil@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83hat38ztr.fsf@gnu.org> References: <20120717214257.GA9394@host2.jankratochvil.net> <20487.14790.662664.583456@ruffy2.mtv.corp.google.com> <20120718233303.GA32519@host2.jankratochvil.net> <83liif91io.fsf@gnu.org> X-IsSubscribed: yes 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 X-SW-Source: 2012-07/txt/msg00356.txt.bz2 > Date: Thu, 19 Jul 2012 09:27:46 -0700 > From: Doug Evans > Cc: Jan Kratochvil , gdb-patches@sourceware.org > > On Thu, Jul 19, 2012 at 9:08 AM, Eli Zaretskii wrote: > >> Date: Thu, 19 Jul 2012 01:33:03 +0200 > >> From: Jan Kratochvil > >> Cc: gdb-patches@sourceware.org, eliz@gnu.org > >> > >> On Thu, 19 Jul 2012 00:33:42 +0200, dje@google.com wrote: > >> > + use "-iex 'set use-deprecated-index-sections on'". > >> [...] > >> > +`-iex \"set use-deprecated-index-sections on\"' to gdb."), > >> > >> It is more Eli's decision but I would find it overquoted. > > > > How about removing that sentence altogether? We have no reason to > > advertise -iex in that particular warning message. > > I'd like to keep the content of the warning. The text you suggested is: warning (_("\ Skipping deprecated .gdb_index section in %s.\n\ Do \"set use-deprecated-index-sections on\" to use them anyway.\n\ This can be done from the command line by passing\n\ `-iex \"set use-deprecated-index-sections on\"' to gdb."), filename); I'm saying that mentioning the "set" command is enough, no need to also say that the command can be invoked through -iex, because _any_ GDB command can be invoked like that. That said, I won't argue.