From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65066 invoked by alias); 13 Aug 2015 14:24:57 -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 65053 invoked by uid 89); 13 Aug 2015 14:24:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout22.012.net.il Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 13 Aug 2015 14:24:55 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NT000F00YLNKG00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Thu, 13 Aug 2015 17:24:52 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NT000FKRYPGGX30@a-mtaout22.012.net.il>; Thu, 13 Aug 2015 17:24:52 +0300 (IDT) Date: Thu, 13 Aug 2015 14:24:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH v2 2/3] gdb: New maintenance command to disable bfd sharing. In-reply-to: <77dce5f054bd1f7be0f87fe36c5d7e4acdef7c9b.1439454670.git.andrew.burgess@embecosm.com> To: Andrew Burgess Cc: gdb-patches@sourceware.org, andrew.burgess@embecosm.com Reply-to: Eli Zaretskii Message-id: <83oaibnu4x.fsf@gnu.org> References: <77dce5f054bd1f7be0f87fe36c5d7e4acdef7c9b.1439454670.git.andrew.burgess@embecosm.com> X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg00348.txt.bz2 > From: Andrew Burgess > Cc: Andrew Burgess > Date: Thu, 13 Aug 2015 13:44:59 +0100 > > In some rare maintainer cases it is desirable to be able to disable bfd > sharing. This patch adds new commands maintenance set/show commands for > bfd-sharing, allowing gdb's bfd cache to be turned off. > > gdb/ChangeLog: > > * gdb_bfd.c (bfd_sharing): New variable. > (gdb_bfd_open): Check bfd_sharing variable. > (_initialize_gdb_bfd): Add new set/show command. > * NEWS: Mention new command. > > gdb/doc/ChangeLog: > > * gdb.texinfo (Maintenance Commands): Move documentation of "main > info bfds" to... > (File Caching): A New section. Outline bfd caching, and add new > description for "main set/show bfd-sharing". OK for the documentation parts, with one comment: > +Control whether @code{bfd} objects can be shared. When sharing is > +enabled @value{GDBN} will reuse already open @code{bfd} objects rather ^ Please insert a comma where indicated. Thanks.