diff options
author | Tom Tromey <tom@tromey.com> | 2018-11-23 17:09:34 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-01-09 18:28:14 -0700 |
commit | cac85af2467c9bac326b397b150274d95d2916a5 (patch) | |
tree | 1e9c3722cd2e1592218f8dc5c7e31a154d848a3e /gdb/ChangeLog | |
parent | aed57c537116ae91f553ac835b3f96d1f87b3bb0 (diff) | |
download | gdb-cac85af2467c9bac326b397b150274d95d2916a5.zip gdb-cac85af2467c9bac326b397b150274d95d2916a5.tar.gz gdb-cac85af2467c9bac326b397b150274d95d2916a5.tar.bz2 |
Remove ALL_OBJFILES_SAFE
This removes the ALL_OBJFILES_SAFE macro, replacing the uses with
ranged for loops.
gdb/ChangeLog
2019-01-09 Tom Tromey <tom@tromey.com>
* common/next-iterator.h (next_adapter): Add Iterator template
parameter.
* objfiles.h (ALL_OBJFILES_SAFE): Remove.
(class all_objfiles_safe): New.
* jit.c (jit_inferior_exit_hook): Use all_objfiles_safe.
* objfiles.c (put_objfile_before): Update comment.
(add_separate_debug_objfile): Likewise.
(free_all_objfiles): Use all_objfiles_safe.
(objfile_purge_solibs): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 00160cf..e51c19c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,17 @@ 2019-01-09 Tom Tromey <tom@tromey.com> + * common/next-iterator.h (next_adapter): Add Iterator template + parameter. + * objfiles.h (ALL_OBJFILES_SAFE): Remove. + (class all_objfiles_safe): New. + * jit.c (jit_inferior_exit_hook): Use all_objfiles_safe. + * objfiles.c (put_objfile_before): Update comment. + (add_separate_debug_objfile): Likewise. + (free_all_objfiles): Use all_objfiles_safe. + (objfile_purge_solibs): Likewise. + +2019-01-09 Tom Tromey <tom@tromey.com> + * symtab.c (iterate_over_symtabs, matching_obj_sections) (expand_symtab_containing_pc, lookup_static_symbol) (basic_lookup_transparent_type, find_pc_sect_compunit_symtab) |