diff options
author | Tom Tromey <tom@tromey.com> | 2020-02-14 14:16:23 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-02-14 14:16:24 -0700 |
commit | a4a38eb437382fbf2b2c6788fe35dd3340f9664a (patch) | |
tree | ac18d982d4265f3cef76ab880280a91a1c45cec1 /gdb/gdbarch.c | |
parent | f251f50533110132ce83678d644d53b1d1110b05 (diff) | |
download | binutils-a4a38eb437382fbf2b2c6788fe35dd3340f9664a.zip binutils-a4a38eb437382fbf2b2c6788fe35dd3340f9664a.tar.gz binutils-a4a38eb437382fbf2b2c6788fe35dd3340f9664a.tar.bz2 |
Cache .gnu_debugdata BFD
While looking at the output of "maint info bfd" with multiple
inferiors, I noticed that there were duplicate entries for
.gnu_debugdata.
There is no reason to re-create this BFD each time it is needed. This
patch arranges to share the data.
gdb/ChangeLog
2020-02-14 Tom Tromey <tom@tromey.com>
* minidebug.c (gnu_debug_key): New global.
(find_separate_debug_file_in_section): Use it.
Change-Id: If139f89f0f07db33f399afdbcfbf5aaeffe4de46
Diffstat (limited to 'gdb/gdbarch.c')
0 files changed, 0 insertions, 0 deletions