aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-11-24 09:58:20 -0700
committerTom Tromey <tom@tromey.com>2019-01-09 18:28:15 -0700
commit8b31193aa9752ba60d63cedaba943370d76ce543 (patch)
tree3e6787e80428ab357880409a63be7a620b769ffd /gdb/ChangeLog
parentd5da8b3c0d99e71c27832a4e9b60c61eebf9767c (diff)
downloadgdb-8b31193aa9752ba60d63cedaba943370d76ce543.zip
gdb-8b31193aa9752ba60d63cedaba943370d76ce543.tar.gz
gdb-8b31193aa9752ba60d63cedaba943370d76ce543.tar.bz2
Remove ALL_OBJFILES and ALL_FILETABS
This removes the ALL_OBJFILES and ALL_FILETABS macros, replacing them with ranged for loops. gdb/ChangeLog 2019-01-09 Tom Tromey <tom@tromey.com> * symtab.c (find_line_symtab, info_sources_command) (make_source_files_completion_list): Use objfile_compunits. * source.c (select_source_symtab): Use objfile_compunits. * objfiles.h (struct objfile): Update comment. (ALL_OBJFILES): Remove. (ALL_FILETABS): Remove. * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Use objfile_compunits.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d07f2c1..8452837 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,16 @@
2019-01-09 Tom Tromey <tom@tromey.com>
+ * symtab.c (find_line_symtab, info_sources_command)
+ (make_source_files_completion_list): Use objfile_compunits.
+ * source.c (select_source_symtab): Use objfile_compunits.
+ * objfiles.h (struct objfile): Update comment.
+ (ALL_OBJFILES): Remove.
+ (ALL_FILETABS): Remove.
+ * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Use
+ objfile_compunits.
+
+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