From d9eebde01801427330b882d0104aa608788f268d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 29 Oct 2020 15:04:33 -0600 Subject: Change add_target_sections_of_objfile to method on program_space This changes add_target_sections_of_objfile to be a method on program_space. It is renamed to be another overload of add_target_sections, because they are semantically equivalent in a sense. gdb/ChangeLog 2020-10-29 Tom Tromey * symfile.c (add_symbol_file_command): Update. * exec.c (program_space::add_target_sections): Rename. * symfile-mem.c (symbol_file_add_from_memory): Update. * progspace.h (struct program_space) : Declare new overload. * exec.h (add_target_sections_of_objfile): Don't declare. --- gdb/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3aeb0d1..4096a1b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,14 @@ 2020-10-29 Tom Tromey + * symfile.c (add_symbol_file_command): Update. + * exec.c (program_space::add_target_sections): Rename. + * symfile-mem.c (symbol_file_add_from_memory): Update. + * progspace.h (struct program_space) : + Declare new overload. + * exec.h (add_target_sections_of_objfile): Don't declare. + +2020-10-29 Tom Tromey + * solib.c (solib_map_sections): Update. * exec.c (program_space::add_target_sections): Now a method. (exec_file_attach): Update. -- cgit v1.1