Re: [PATCH 3/3] Further simplify gdb BFD caching

Tom Tromey
2020-01-23T22:05:09Z

>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes:

Tom> gdb/ChangeLog
Tom> 2020-01-14 Tom Tromey <tromey@adacore.com>

Tom> * gdb_bfd.c (gdb_bfd_data): Remove "mt" parameter, add "st"
Tom> parameter. Don't call bfd_stat.
Tom> (gdb_bfd_init_data): Replace "mt" parameter with "st".
Tom> (gdb_bfd_open): Rearrange and update.
Tom> (gdb_bfd_ref): Call bfd_stat.

This probably has to be merged into an earlier patch, because the eq_bfd
function checks these other fields as well. I may end up just squashing
the whole series, we'll see... but I won't do anything until the stat
problem has a solution.

Tom