diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2015-04-13 16:56:23 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2015-08-18 14:03:14 +0100 |
commit | 566f5e3b385a99c09b5babc9f90dae93e052d52c (patch) | |
tree | 229e1f15bd0ae0595f88537411d2a0db93dd3e93 /gdb/NEWS | |
parent | 18989b3c5642e2ba533e02737797dcf06134229b (diff) | |
download | gdb-566f5e3b385a99c09b5babc9f90dae93e052d52c.zip gdb-566f5e3b385a99c09b5babc9f90dae93e052d52c.tar.gz gdb-566f5e3b385a99c09b5babc9f90dae93e052d52c.tar.bz2 |
gdb: Add debug tracing for bfd cache activity.
This patch adds a new debug flag bfd-cache, which when set to non-zero
produces debugging log messages relating to gdb's bfd cache.
gdb/ChangeLog:
* gdb_bfd.c (debug_bfd_cache): New variable.
(show_bfd_cache_debug): New function.
(gdb_bfd_open): Add debug logging.
(gdb_bfd_ref): Likewise.
(gdb_bfd_unref): Likewise.
(_initialize_gdb_bfd): Add new set/show command.
* NEWS: Mention new command.
gdb/doc/ChangeLog:
* gdb.texinfo (File Caching): Document "set/show debug bfd-cache".
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -24,6 +24,10 @@ maint set bfd-sharing maint show bfd-sharing Control the reuse of bfd objects. +set debug bfd-cache +show debug bfd-cache + Control display of debugging info regarding bfd caching. + * 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 |