Remove ALL_OBJFILE_FILETABS
authorTom Tromey <tom@tromey.com>
Sat, 24 Nov 2018 16:51:44 +0000 (09:51 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 10 Jan 2019 01:28:15 +0000 (18:28 -0700)
commitd5da8b3c0d99e71c27832a4e9b60c61eebf9767c
treec4e9e194e65019df77c754dfea3399c34de7080c
parent5accd1a07e080c386918da413e0f9e90c4cab58a
Remove ALL_OBJFILE_FILETABS

This removes ALL_OBJFILE_FILETABS, replacing its uses with ranged for
loops.

gdb/ChangeLog
2019-01-09  Tom Tromey  <tom@tromey.com>

* symmisc.c (print_objfile_statistics, dump_objfile)
(maintenance_print_symbols): Use compunit_filetabs.
* source.c (forget_cached_source_info_for_objfile): Use
compunit_filetabs.
* objfiles.h (ALL_OBJFILE_FILETABS): Remove.
(ALL_FILETABS): Use compunit_filetabs.
* objfiles.c (objfile_relocate1): Use compunit_filetabs.
* coffread.c (coff_symtab_read): Use compunit_filetabs.
gdb/ChangeLog
gdb/coffread.c
gdb/objfiles.c
gdb/objfiles.h
gdb/source.c
gdb/symmisc.c