aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2015-04-13 16:31:21 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2015-08-18 14:03:14 +0100
commit18989b3c5642e2ba533e02737797dcf06134229b (patch)
tree71762e63cc8aa431f9d047994b660f8b51d7de20 /gdb/NEWS
parentc04fe68f6b94815d3f49c9aed64b2c388d45f4aa (diff)
downloadgdb-18989b3c5642e2ba533e02737797dcf06134229b.zip
gdb-18989b3c5642e2ba533e02737797dcf06134229b.tar.gz
gdb-18989b3c5642e2ba533e02737797dcf06134229b.tar.bz2
gdb: New maintenance command to disable bfd sharing.
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. (show_bfd_sharing): New function. (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".
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 174924f..7a24e23 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -20,6 +20,10 @@ maint show target-non-stop
"set non-stop" is "off". The default is "auto", meaning non-stop
mode is enabled if supported by the target.
+maint set bfd-sharing
+maint show bfd-sharing
+ Control the reuse of bfd objects.
+
* The "disassemble" command accepts a new modifier: /s.
It prints mixed source+disassembly like /m with two differences:
- disassembled instructions are now printed in program order, and