Remove some uses of "object_files"
authorTom Tromey <tom@tromey.com>
Sun, 20 Jan 2019 04:30:36 +0000 (21:30 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 10 Apr 2019 14:05:17 +0000 (08:05 -0600)
commitbf227d6105cb3908cde816429c84569da12e829c
treed7022aa84f98f332460726b0a1e944c7c14db563
parentb05971a652c35ed72d3c95290e18d8f6e4ef6c46
Remove some uses of "object_files"

The "object_files" macro is sometimes used when iterating over
objfiles.  This patch removes a few such uses in favor of the new
range adapter.

gdb/ChangeLog
2019-04-10  Tom Tromey  <tom@tromey.com>

* ia64-tdep.c (ia64_get_dyn_info_list): Use foreach.
* minsyms.c (lookup_minimal_symbol): Use foreach.
(lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
(lookup_minimal_symbol_solib_trampoline): Likewise.
* symfile.c (reread_symbols): Use foreach.
gdb/ChangeLog
gdb/ia64-tdep.c
gdb/minsyms.c
gdb/symfile.c