This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 2/3] gdb: New maintenance command to disable bfd sharing.


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]