This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 2/3] gdb: New maintenance command to disable bfd sharing.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>
- Cc: gdb-patches at sourceware dot org, andrew dot burgess at embecosm dot com
- Date: Thu, 13 Aug 2015 17:24:46 +0300
- Subject: Re: [PATCH v2 2/3] gdb: New maintenance command to disable bfd sharing.
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1439454669 dot git dot andrew dot burgess at embecosm dot com> <cover dot 1439454669 dot git dot andrew dot burgess at embecosm dot com> <77dce5f054bd1f7be0f87fe36c5d7e4acdef7c9b dot 1439454670 dot git dot andrew dot burgess at embecosm dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Andrew Burgess <andrew.burgess@embecosm.com>
> Cc: Andrew Burgess <andrew.burgess@embecosm.com>
> 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.